Documentation ¶
Index ¶
- func GetCloudVMStatus(vm cloudprovider.ICloudVM) string
- type SAliyunGuestDriver
- func (self *SAliyunGuestDriver) AllowReconfigGuest() bool
- func (self *SAliyunGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SAliyunGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SAliyunGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SAliyunGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SAliyunGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SAliyunGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SAliyunGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SAliyunGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SAliyunGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SAliyunGuestDriver) GetHypervisor() string
- func (self *SAliyunGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SAliyunGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SAliyunGuestDriver) GetProvider() string
- func (self *SAliyunGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SAliyunGuestDriver) GetStorageTypes() []string
- func (self *SAliyunGuestDriver) IsSupportPublicIp() bool
- func (self *SAliyunGuestDriver) IsSupportPublicipToEip() bool
- func (self *SAliyunGuestDriver) IsSupportSetAutoRenew() bool
- func (self *SAliyunGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SAliyunGuestDriver) RemoteActionAfterGuestCreated(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...)
- func (self *SAliyunGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SAliyunGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SApsaraGuestDriver
- func (self *SApsaraGuestDriver) AllowReconfigGuest() bool
- func (self *SApsaraGuestDriver) DoScheduleSKUFilter() bool
- func (self *SApsaraGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SApsaraGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SApsaraGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SApsaraGuestDriver) GetHypervisor() string
- func (self *SApsaraGuestDriver) GetProvider() string
- func (self *SApsaraGuestDriver) IsSupportPublicipToEip() bool
- func (self *SApsaraGuestDriver) IsSupportSetAutoRenew() bool
- func (self *SApsaraGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- type SAwsGuestDriver
- func (self *SAwsGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SAwsGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SAwsGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SAwsGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SAwsGuestDriver) GetDefaultAccount(desc cloudprovider.SManagedVMCreateConfig) string
- func (self *SAwsGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SAwsGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SAwsGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SAwsGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SAwsGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SAwsGuestDriver) GetHypervisor() string
- func (self *SAwsGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SAwsGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SAwsGuestDriver) GetProvider() string
- func (self *SAwsGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SAwsGuestDriver) GetStorageTypes() []string
- func (self *SAwsGuestDriver) GetWindowsUserDataType() string
- func (self *SAwsGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SAwsGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SAwsGuestDriver) IsWindowsUserDataTypeNeedEncode() bool
- func (self *SAwsGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SAwsGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SAzureGuestDriver
- func (self *SAzureGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SAzureGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SAzureGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SAzureGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SAzureGuestDriver) GetDefaultAccount(desc cloudprovider.SManagedVMCreateConfig) string
- func (self *SAzureGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SAzureGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SAzureGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SAzureGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SAzureGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SAzureGuestDriver) GetHypervisor() string
- func (self *SAzureGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SAzureGuestDriver) GetMaxSecurityGroupCount() int
- func (self *SAzureGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SAzureGuestDriver) GetProvider() string
- func (self *SAzureGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SAzureGuestDriver) GetStorageTypes() []string
- func (self *SAzureGuestDriver) IsNeedRestartForResetLoginInfo() bool
- func (self *SAzureGuestDriver) IsRebuildRootSupportChangeUEFI() bool
- func (self *SAzureGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SAzureGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SAzureGuestDriver) ValidateImage(ctx context.Context, image *cloudprovider.SImage) error
- func (self *SAzureGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SBaremetalGuestDriver
- func (self *SBaremetalGuestDriver) Attach2RandomNetwork(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) ([]models.SGuestnetwork, error)
- func (self *SBaremetalGuestDriver) CanKeepDetachDisk() bool
- func (self *SBaremetalGuestDriver) CheckDiskTemplateOnStorage(ctx context.Context, userCred mcclient.TokenCredential, imageId string, ...) error
- func (self *SBaremetalGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SBaremetalGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SBaremetalGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SBaremetalGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SBaremetalGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SBaremetalGuestDriver) GetGuestVncInfo(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*cloudprovider.ServerVncOutput, error)
- func (self *SBaremetalGuestDriver) GetHypervisor() string
- func (self *SBaremetalGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SBaremetalGuestDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (jsonutils.JSONObject, error)
- func (self *SBaremetalGuestDriver) GetMaxSecurityGroupCount() int
- func (self *SBaremetalGuestDriver) GetMaxVCpuCount() int
- func (self *SBaremetalGuestDriver) GetMaxVMemSizeGB() int
- func (self *SBaremetalGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SBaremetalGuestDriver) GetNamedNetworkConfiguration(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) (*models.SNetwork, []models.SNicConfig, api.IPAllocationDirection, bool, error)
- func (self *SBaremetalGuestDriver) GetProvider() string
- func (self *SBaremetalGuestDriver) GetRandomNetworkTypes() []string
- func (self *SBaremetalGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SBaremetalGuestDriver) GetStorageTypes() []string
- func (self *SBaremetalGuestDriver) IsDisableImageCache(gst *models.SGuest) (bool, error)
- func (self *SBaremetalGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
- func (self *SBaremetalGuestDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
- func (self *SBaremetalGuestDriver) IsSupportGuestClone() bool
- func (self *SBaremetalGuestDriver) NeedRequestGuestHotAddIso(ctx context.Context, guest *models.SGuest) bool
- func (self *SBaremetalGuestDriver) OnDeleteGuestFinalCleanup(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential) error
- func (self *SBaremetalGuestDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SBaremetalGuestDriver) PerformStart(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaremetalGuestDriver) PrepareDiskRaidConfig(userCred mcclient.TokenCredential, host *models.SHost, ...) ([]*api.DiskConfig, error)
- func (self *SBaremetalGuestDriver) RequestDeployGuestOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SBaremetalGuestDriver) RequestGuestCreateAllDisks(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaremetalGuestDriver) RequestGuestCreateInsertIso(ctx context.Context, imageId string, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaremetalGuestDriver) RequestGuestHotAddIso(ctx context.Context, guest *models.SGuest, path string, boot bool, ...) error
- func (self *SBaremetalGuestDriver) RequestGuestHotRemoveIso(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaremetalGuestDriver) RequestRebuildRootDisk(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaremetalGuestDriver) RequestStartOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SBaremetalGuestDriver) RequestStopGuestForDelete(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SBaremetalGuestDriver) RequestStopOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SBaremetalGuestDriver) RequestSyncConfigOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SBaremetalGuestDriver) RequestSyncstatusOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SBaremetalGuestDriver) RequestUndeployGuestOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SBaremetalGuestDriver) StartGuestAttachDiskTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaremetalGuestDriver) StartGuestDetachdiskTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaremetalGuestDriver) StartGuestResetTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SBaremetalGuestDriver) StartGuestSaveGuestImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaremetalGuestDriver) StartGuestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaremetalGuestDriver) StartGuestStopTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SBaremetalGuestDriver) StartGuestSyncstatusTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SBaremetalGuestDriver) StartResumeTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaremetalGuestDriver) StartSuspendTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaremetalGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SBaremetalGuestDriver) ValidateCreateDataOnHost(ctx context.Context, userCred mcclient.TokenCredential, bmName string, ...) (*api.ServerCreateInput, error)
- func (self *SBaremetalGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SBaseGuestDriver
- func (self *SBaseGuestDriver) AllowReconfigGuest() bool
- func (self *SBaseGuestDriver) CancelExpireTime(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest) error
- func (self *SBaseGuestDriver) CheckLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) CheckMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) DoGuestCreateDisksTask(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SBaseGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SBaseGuestDriver) GetDefaultAccount(desc cloudprovider.SManagedVMCreateConfig) string
- func (self *SBaseGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SBaseGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SBaseGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SBaseGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SBaseGuestDriver) GetMaxSecurityGroupCount() int
- func (self *SBaseGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SBaseGuestDriver) GetUserDataType() string
- func (self *SBaseGuestDriver) GetWindowsUserDataType() string
- func (self *SBaseGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SBaseGuestDriver) IsNeedRestartForResetLoginInfo() bool
- func (self *SBaseGuestDriver) IsRebuildRootSupportChangeImage() bool
- func (self *SBaseGuestDriver) IsRebuildRootSupportChangeUEFI() bool
- func (self *SBaseGuestDriver) IsSupportEip() bool
- func (self *SBaseGuestDriver) IsSupportGuestClone() bool
- func (self *SBaseGuestDriver) IsSupportLiveMigrate() bool
- func (self *SBaseGuestDriver) IsSupportMigrate() bool
- func (self *SBaseGuestDriver) IsSupportPostpaidExpire() bool
- func (self *SBaseGuestDriver) IsSupportPublicIp() bool
- func (self *SBaseGuestDriver) IsSupportPublicipToEip() bool
- func (self *SBaseGuestDriver) IsSupportSetAutoRenew() bool
- func (self *SBaseGuestDriver) IsSupportdDcryptPasswordFromSecretKey() bool
- func (self *SBaseGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SBaseGuestDriver) IsWindowsUserDataTypeNeedEncode() bool
- func (self *SBaseGuestDriver) NeedRequestGuestHotAddIso(ctx context.Context, guest *models.SGuest) bool
- func (self *SBaseGuestDriver) NeedRequestGuestHotAddVfd(ctx context.Context, guest *models.SGuest) bool
- func (self *SBaseGuestDriver) NeedStopForChangeSpec(ctx context.Context, guest *models.SGuest, cpuChanged, memChanged bool) bool
- func (self *SBaseGuestDriver) OnDeleteGuestFinalCleanup(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential) error
- func (self *SBaseGuestDriver) OnGuestChangeCpuMemFailed(ctx context.Context, guest *models.SGuest, data *jsonutils.JSONDict, ...) error
- func (self *SBaseGuestDriver) OnGuestCreateTaskComplete(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) QgaRequestGuestPing(ctx context.Context, task taskman.ITask, host *models.SHost, ...) error
- func (self *SBaseGuestDriver) QgaRequestSetUserPassword(ctx context.Context, task taskman.ITask, host *models.SHost, ...) error
- func (self *SBaseGuestDriver) RemoteActionAfterGuestCreated(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...)
- func (self *SBaseGuestDriver) RemoteDeployGuestForCreate(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (jsonutils.JSONObject, error)
- func (self *SBaseGuestDriver) RemoteDeployGuestForDeploy(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, ...) (jsonutils.JSONObject, error)
- func (self *SBaseGuestDriver) RemoteDeployGuestForRebuildRoot(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, ...) (jsonutils.JSONObject, error)
- func (self *SBaseGuestDriver) RemoteDeployGuestSyncHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (cloudprovider.ICloudHost, error)
- func (self *SBaseGuestDriver) RequestAttachDisk(ctx context.Context, guest *models.SGuest, disk *models.SDisk, ...) error
- func (self *SBaseGuestDriver) RequestCPUSet(ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, ...) (*api.ServerCPUSetResp, error)
- func (self *SBaseGuestDriver) RequestCPUSetRemove(ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, ...) error
- func (self *SBaseGuestDriver) RequestChangeDiskStorage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaseGuestDriver) RequestChangeVmConfig(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SBaseGuestDriver) RequestCloseForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*guestdriver_types.CloseForwardResponse, error)
- func (self *SBaseGuestDriver) RequestConvertPublicipToEip(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaseGuestDriver) RequestDeleteDetachedDisk(ctx context.Context, disk *models.SDisk, task taskman.ITask, isPurge bool) error
- func (self *SBaseGuestDriver) RequestDeleteSnapshot(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SBaseGuestDriver) RequestDetachDisk(ctx context.Context, guest *models.SGuest, disk *models.SDisk, ...) error
- func (self *SBaseGuestDriver) RequestDetachDisksFromGuestForDelete(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) RequestDiskSnapshot(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SBaseGuestDriver) RequestGuestCreateAllDisks(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) RequestGuestHotAddIso(ctx context.Context, guest *models.SGuest, path string, boot bool, ...) error
- func (self *SBaseGuestDriver) RequestGuestHotAddVfd(ctx context.Context, guest *models.SGuest, path string, boot bool, ...) error
- func (self *SBaseGuestDriver) RequestGuestHotRemoveIso(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) RequestGuestHotRemoveVfd(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) RequestListForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*guestdriver_types.ListForwardResponse, error)
- func (self *SBaseGuestDriver) RequestLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) RequestMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) RequestOpenForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*guestdriver_types.OpenForwardResponse, error)
- func (self *SBaseGuestDriver) RequestQgaCommand(ctx context.Context, userCred mcclient.TokenCredential, ...) (jsonutils.JSONObject, error)
- func (self *SBaseGuestDriver) RequestRebuildRootDisk(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) RequestReloadDiskSnapshot(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SBaseGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) RequestRenewInstance(ctx context.Context, guest *models.SGuest, bc billing.SBillingCycle) (time.Time, error)
- func (self *SBaseGuestDriver) RequestResumeOnHost(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) RequestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaseGuestDriver) RequestSetAutoRenewInstance(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaseGuestDriver) RequestSoftReset(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) RequestSuspendOnHost(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) RequestSwitchToTargetStorageDisk(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaseGuestDriver) RequestSyncConfigOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SBaseGuestDriver) RequestSyncIsolatedDevice(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) RequestSyncSecgroupsOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SBaseGuestDriver) RequestSyncToBackup(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SBaseGuestDriver) StartChangeDiskStorageTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) StartDeleteGuestTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaseGuestDriver) StartGuestCreateTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) StartGuestResetTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) StartGuestRestartTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) ValidateChangeConfig(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaseGuestDriver) ValidateChangeDiskStorage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaseGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SBaseGuestDriver) ValidateDetachDisk(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SBaseGuestDriver) ValidateDetachNetwork(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest) error
- func (self *SBaseGuestDriver) ValidateImage(ctx context.Context, image *cloudprovider.SImage) error
- func (self *SBaseGuestDriver) ValidateRebuildRoot(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*api.ServerRebuildRootInput, error)
- func (self *SBaseGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- func (self *SBaseGuestDriver) ValidateUpdateData(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) (api.ServerUpdateInput, error)
- type SBaseGuestScheduleDriver
- func (d SBaseGuestScheduleDriver) DoScheduleCPUFilter() bool
- func (d SBaseGuestScheduleDriver) DoScheduleCloudproviderTagFilter() bool
- func (d SBaseGuestScheduleDriver) DoScheduleMemoryFilter() bool
- func (d SBaseGuestScheduleDriver) DoScheduleSKUFilter() bool
- func (d SBaseGuestScheduleDriver) DoScheduleStorageFilter() bool
- type SBingoCloudGuestDriver
- func (self *SBingoCloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SBingoCloudGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SBingoCloudGuestDriver) GetHypervisor() string
- func (self *SBingoCloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SBingoCloudGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SBingoCloudGuestDriver) GetProvider() string
- type SCloudpodsGuestDriver
- func (self *SCloudpodsGuestDriver) DoScheduleCPUFilter() bool
- func (self *SCloudpodsGuestDriver) DoScheduleMemoryFilter() bool
- func (self *SCloudpodsGuestDriver) DoScheduleSKUFilter() bool
- func (self *SCloudpodsGuestDriver) DoScheduleStorageFilter() bool
- func (self *SCloudpodsGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SCloudpodsGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SCloudpodsGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SCloudpodsGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SCloudpodsGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SCloudpodsGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SCloudpodsGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SCloudpodsGuestDriver) GetHypervisor() string
- func (self *SCloudpodsGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SCloudpodsGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SCloudpodsGuestDriver) GetProvider() string
- func (self *SCloudpodsGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SCloudpodsGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
- func (self *SCloudpodsGuestDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
- func (self *SCloudpodsGuestDriver) IsSupportLiveMigrate() bool
- func (self *SCloudpodsGuestDriver) IsSupportMigrate() bool
- func (self *SCloudpodsGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SContainerDriver
- func (self *SContainerDriver) CanKeepDetachDisk() bool
- func (self *SContainerDriver) DoGuestCreateDisksTask(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SContainerDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SContainerDriver) GetDefaultSysDiskBackend() string
- func (self *SContainerDriver) GetGuestVncInfo(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*cloudprovider.ServerVncOutput, error)
- func (self *SContainerDriver) GetHypervisor() string
- func (self *SContainerDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SContainerDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (jsonutils.JSONObject, error)
- func (self *SContainerDriver) GetMinimalSysDiskSizeGb() int
- func (self *SContainerDriver) GetProvider() string
- func (self *SContainerDriver) GetRandomNetworkTypes() []string
- func (self *SContainerDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
- func (self *SContainerDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
- func (self *SContainerDriver) IsSupportGuestClone() bool
- func (self *SContainerDriver) OnDeleteGuestFinalCleanup(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential) error
- func (self *SContainerDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SContainerDriver) RequestChangeVmConfig(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SContainerDriver) RequestDeployGuestOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SContainerDriver) RequestDetachDisk(ctx context.Context, guest *models.SGuest, disk *models.SDisk, ...) error
- func (self *SContainerDriver) RequestDetachDisksFromGuestForDelete(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SContainerDriver) RequestGuestCreateAllDisks(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SContainerDriver) RequestGuestHotAddIso(ctx context.Context, guest *models.SGuest, path string, boot bool, ...) error
- func (self *SContainerDriver) RequestRebuildRootDisk(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SContainerDriver) RequestSoftReset(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SContainerDriver) RequestStartOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SContainerDriver) RequestStopGuestForDelete(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SContainerDriver) RequestStopOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SContainerDriver) RequestSyncConfigOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SContainerDriver) RequestSyncstatusOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SContainerDriver) RequestUndeployGuestOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SContainerDriver) RqeuestSuspendOnHost(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SContainerDriver) StartGuestRestartTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- type SCtyunGuestDriver
- func (self *SCtyunGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SCtyunGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SCtyunGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SCtyunGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SCtyunGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SCtyunGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SCtyunGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SCtyunGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SCtyunGuestDriver) GetHypervisor() string
- func (self *SCtyunGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SCtyunGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SCtyunGuestDriver) GetProvider() string
- func (self *SCtyunGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SCtyunGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SDiskInfo
- type SESXiGuestDriver
- func (self *SESXiGuestDriver) AllowReconfigGuest() bool
- func (self *SESXiGuestDriver) CanKeepDetachDisk() bool
- func (self *SESXiGuestDriver) CheckLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SESXiGuestDriver) CheckMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SESXiGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SESXiGuestDriver) DoGuestCreateDisksTask(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SESXiGuestDriver) DoScheduleCPUFilter() bool
- func (self *SESXiGuestDriver) DoScheduleMemoryFilter() bool
- func (self *SESXiGuestDriver) DoScheduleSKUFilter() bool
- func (self *SESXiGuestDriver) DoScheduleStorageFilter() bool
- func (self *SESXiGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SESXiGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SESXiGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SESXiGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SESXiGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SESXiGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SESXiGuestDriver) GetHypervisor() string
- func (self *SESXiGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SESXiGuestDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (jsonutils.JSONObject, error)
- func (self *SESXiGuestDriver) GetMaxSecurityGroupCount() int
- func (self *SESXiGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SESXiGuestDriver) GetProvider() string
- func (self *SESXiGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SESXiGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
- func (self *SESXiGuestDriver) IsSupportEip() bool
- func (self *SESXiGuestDriver) IsSupportLiveMigrate() bool
- func (self *SESXiGuestDriver) IsSupportMigrate() bool
- func (self *SESXiGuestDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SESXiGuestDriver) RequestDeployGuestOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SESXiGuestDriver) RequestGuestHotAddIso(ctx context.Context, guest *models.SGuest, path string, boot bool, ...) error
- func (self *SESXiGuestDriver) RequestLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SESXiGuestDriver) RequestMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SESXiGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SESXiGuestDriver) RequestRenewInstance(ctx context.Context, guest *models.SGuest, bc billing.SBillingCycle) (time.Time, error)
- func (self *SESXiGuestDriver) RequestResumeOnHost(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SESXiGuestDriver) RequestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SESXiGuestDriver) RequestStartOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SESXiGuestDriver) RequestStopOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SESXiGuestDriver) RequestSuspendOnHost(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SESXiGuestDriver) RequestSyncSecgroupsOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SESXiGuestDriver) RequestSyncstatusOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SESXiGuestDriver) StartDeleteGuestTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SESXiGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SESXiGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SESXiGuestDriver) ValidateRebuildRoot(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*api.ServerRebuildRootInput, error)
- func (self *SESXiGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SEcloudGuestDriver
- func (self *SEcloudGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SEcloudGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SEcloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SEcloudGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SEcloudGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SEcloudGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SEcloudGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SEcloudGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SEcloudGuestDriver) GetHypervisor() string
- func (self *SEcloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SEcloudGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SEcloudGuestDriver) GetProvider() string
- func (self *SEcloudGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SEcloudGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SEsxiImageInfo
- type SEsxiInstanceSnapshotInfo
- type SGoogleGuestDriver
- func (self *SGoogleGuestDriver) AllowReconfigGuest() bool
- func (self *SGoogleGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SGoogleGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SGoogleGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SGoogleGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SGoogleGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SGoogleGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SGoogleGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SGoogleGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SGoogleGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SGoogleGuestDriver) GetHypervisor() string
- func (self *SGoogleGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SGoogleGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SGoogleGuestDriver) GetProvider() string
- func (self *SGoogleGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SGoogleGuestDriver) GetStorageTypes() []string
- func (self *SGoogleGuestDriver) GetUserDataType() string
- func (self *SGoogleGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SGoogleGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SGoogleGuestDriver) RemoteActionAfterGuestCreated(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...)
- func (self *SGoogleGuestDriver) RequestStartOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SGoogleGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SGoogleGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SHCSGuestDriver
- func (self *SHCSGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SHCSGuestDriver) DoScheduleSKUFilter() bool
- func (self *SHCSGuestDriver) DoScheduleStorageFilter() bool
- func (self *SHCSGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SHCSGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SHCSGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SHCSGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SHCSGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SHCSGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SHCSGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SHCSGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SHCSGuestDriver) GetHypervisor() string
- func (self *SHCSGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SHCSGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SHCSGuestDriver) GetProvider() string
- func (self *SHCSGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SHCSGuestDriver) GetStorageTypes() []string
- func (self *SHCSGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SHCSGuestDriver) IsSupportSetAutoRenew() bool
- func (self *SHCSGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SHCSGuestDriver) RemoteDeployGuestSyncHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (cloudprovider.ICloudHost, error)
- func (self *SHCSGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SHCSOGuestDriver
- func (self *SHCSOGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SHCSOGuestDriver) DoScheduleSKUFilter() bool
- func (self *SHCSOGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SHCSOGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SHCSOGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SHCSOGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SHCSOGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SHCSOGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SHCSOGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SHCSOGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SHCSOGuestDriver) GetHypervisor() string
- func (self *SHCSOGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SHCSOGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SHCSOGuestDriver) GetProvider() string
- func (self *SHCSOGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SHCSOGuestDriver) GetStorageTypes() []string
- func (self *SHCSOGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SHCSOGuestDriver) IsSupportSetAutoRenew() bool
- func (self *SHCSOGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SHCSOGuestDriver) RemoteDeployGuestSyncHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (cloudprovider.ICloudHost, error)
- func (self *SHCSOGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SHuaweiGuestDriver
- func (self *SHuaweiGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SHuaweiGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SHuaweiGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SHuaweiGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SHuaweiGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SHuaweiGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SHuaweiGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SHuaweiGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SHuaweiGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SHuaweiGuestDriver) GetHypervisor() string
- func (self *SHuaweiGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SHuaweiGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SHuaweiGuestDriver) GetProvider() string
- func (self *SHuaweiGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SHuaweiGuestDriver) GetStorageTypes() []string
- func (self *SHuaweiGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SHuaweiGuestDriver) IsSupportSetAutoRenew() bool
- func (self *SHuaweiGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SHuaweiGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SInCloudSphereGuestDriver
- func (self *SInCloudSphereGuestDriver) DoScheduleSKUFilter() bool
- func (self *SInCloudSphereGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SInCloudSphereGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SInCloudSphereGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SInCloudSphereGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SInCloudSphereGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SInCloudSphereGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SInCloudSphereGuestDriver) GetHypervisor() string
- func (self *SInCloudSphereGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SInCloudSphereGuestDriver) GetMaxSecurityGroupCount() int
- func (self *SInCloudSphereGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SInCloudSphereGuestDriver) GetProvider() string
- func (self *SInCloudSphereGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SInCloudSphereGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SInCloudSphereGuestDriver) IsNeedRestartForResetLoginInfo() bool
- func (self *SInCloudSphereGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
- func (self *SInCloudSphereGuestDriver) IsSupportEip() bool
- func (self *SInCloudSphereGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SInCloudSphereGuestDriver) RequestSyncSecgroupsOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SInCloudSphereGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SInCloudSphereGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SInCloudSphereGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SJDcloudGuestDriver
- func (self *SJDcloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SJDcloudGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SJDcloudGuestDriver) GetHypervisor() string
- func (self *SJDcloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SJDcloudGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SJDcloudGuestDriver) GetProvider() string
- func (self *SJDcloudGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- type SKVMGuestDriver
- func (self *SKVMGuestDriver) CheckLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SKVMGuestDriver) CheckMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SKVMGuestDriver) DoGuestCreateDisksTask(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SKVMGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SKVMGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SKVMGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SKVMGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SKVMGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SKVMGuestDriver) GetGuestVncInfo(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*cloudprovider.ServerVncOutput, error)
- func (self *SKVMGuestDriver) GetHypervisor() string
- func (self *SKVMGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SKVMGuestDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (jsonutils.JSONObject, error)
- func (self *SKVMGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SKVMGuestDriver) GetProvider() string
- func (self *SKVMGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SKVMGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
- func (self *SKVMGuestDriver) IsSupportEip() bool
- func (self *SKVMGuestDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
- func (self *SKVMGuestDriver) IsSupportLiveMigrate() bool
- func (self *SKVMGuestDriver) IsSupportMigrate() bool
- func (self *SKVMGuestDriver) NeedRequestGuestHotAddIso(ctx context.Context, guest *models.SGuest) bool
- func (self *SKVMGuestDriver) NeedRequestGuestHotAddVfd(ctx context.Context, guest *models.SGuest) bool
- func (self *SKVMGuestDriver) NeedStopForChangeSpec(ctx context.Context, guest *models.SGuest, cpuChanged, memChanged bool) bool
- func (self *SKVMGuestDriver) OnDeleteGuestFinalCleanup(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential) error
- func (self *SKVMGuestDriver) OnGuestChangeCpuMemFailed(ctx context.Context, guest *models.SGuest, data *jsonutils.JSONDict, ...) error
- func (self *SKVMGuestDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SKVMGuestDriver) QgaRequestGuestPing(ctx context.Context, task taskman.ITask, host *models.SHost, ...) error
- func (self *SKVMGuestDriver) QgaRequestSetUserPassword(ctx context.Context, task taskman.ITask, host *models.SHost, ...) error
- func (self *SKVMGuestDriver) RequestAssociateEip(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SKVMGuestDriver) RequestAttachDisk(ctx context.Context, guest *models.SGuest, disk *models.SDisk, ...) error
- func (self *SKVMGuestDriver) RequestCPUSet(ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, ...) (*api.ServerCPUSetResp, error)
- func (self *SKVMGuestDriver) RequestCPUSetRemove(ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, ...) error
- func (self *SKVMGuestDriver) RequestChangeDiskStorage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SKVMGuestDriver) RequestChangeVmConfig(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SKVMGuestDriver) RequestCloseForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*guestdriver_types.CloseForwardResponse, error)
- func (self *SKVMGuestDriver) RequestDeleteSnapshot(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SKVMGuestDriver) RequestDeployGuestOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SKVMGuestDriver) RequestDetachDisk(ctx context.Context, guest *models.SGuest, disk *models.SDisk, ...) error
- func (self *SKVMGuestDriver) RequestDetachDisksFromGuestForDelete(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestDiskSnapshot(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SKVMGuestDriver) RequestGuestCreateAllDisks(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestGuestHotAddIso(ctx context.Context, guest *models.SGuest, path string, boot bool, ...) error
- func (self *SKVMGuestDriver) RequestGuestHotAddVfd(ctx context.Context, guest *models.SGuest, path string, boot bool, ...) error
- func (self *SKVMGuestDriver) RequestGuestHotRemoveIso(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestGuestHotRemoveVfd(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestListForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*guestdriver_types.ListForwardResponse, error)
- func (self *SKVMGuestDriver) RequestOpenForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*guestdriver_types.OpenForwardResponse, error)
- func (self *SKVMGuestDriver) RequestQgaCommand(ctx context.Context, userCred mcclient.TokenCredential, ...) (jsonutils.JSONObject, error)
- func (self *SKVMGuestDriver) RequestRebuildRootDisk(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestReloadDiskSnapshot(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SKVMGuestDriver) RequestResumeOnHost(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SKVMGuestDriver) RequestSoftReset(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestStartOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SKVMGuestDriver) RequestStopOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SKVMGuestDriver) RequestSuspendOnHost(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestSwitchToTargetStorageDisk(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SKVMGuestDriver) RequestSyncConfigOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SKVMGuestDriver) RequestSyncIsolatedDevice(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestSyncToBackup(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SKVMGuestDriver) RequestSyncstatusOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SKVMGuestDriver) RequestUndeployGuestOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SKVMGuestDriver) ValidateChangeDiskStorage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SKVMGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SKVMGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SKVMGuestDriver) ValidateDetachNetwork(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest) error
- func (self *SKVMGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- func (self *SKVMGuestDriver) ValidateUpdateData(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) (api.ServerUpdateInput, error)
- type SManagedVirtualizedGuestDriver
- func (self *SManagedVirtualizedGuestDriver) DoGuestCreateDisksTask(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (d SManagedVirtualizedGuestDriver) DoScheduleCPUFilter() bool
- func (d SManagedVirtualizedGuestDriver) DoScheduleCloudproviderTagFilter() bool
- func (d SManagedVirtualizedGuestDriver) DoScheduleMemoryFilter() bool
- func (d SManagedVirtualizedGuestDriver) DoScheduleSKUFilter() bool
- func (d SManagedVirtualizedGuestDriver) DoScheduleStorageFilter() bool
- func (self *SManagedVirtualizedGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SManagedVirtualizedGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SManagedVirtualizedGuestDriver) GetGuestVncInfo(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (*cloudprovider.ServerVncOutput, error)
- func (self *SManagedVirtualizedGuestDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (jsonutils.JSONObject, error)
- func (self *SManagedVirtualizedGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
- func (self *SManagedVirtualizedGuestDriver) IsSupportEip() bool
- func (self *SManagedVirtualizedGuestDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
- func (self *SManagedVirtualizedGuestDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SManagedVirtualizedGuestDriver) RemoteDeployGuestForCreate(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (jsonutils.JSONObject, error)
- func (self *SManagedVirtualizedGuestDriver) RemoteDeployGuestForDeploy(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, ...) (jsonutils.JSONObject, error)
- func (self *SManagedVirtualizedGuestDriver) RemoteDeployGuestForRebuildRoot(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, ...) (jsonutils.JSONObject, error)
- func (self *SManagedVirtualizedGuestDriver) RemoteDeployGuestSyncHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) (cloudprovider.ICloudHost, error)
- func (self *SManagedVirtualizedGuestDriver) RequestAttachDisk(ctx context.Context, guest *models.SGuest, disk *models.SDisk, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestChangeVmConfig(ctx context.Context, guest *models.SGuest, task taskman.ITask, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestConvertPublicipToEip(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestDeployGuestOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestDetachDisk(ctx context.Context, guest *models.SGuest, disk *models.SDisk, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestGuestCreateAllDisks(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SManagedVirtualizedGuestDriver) RequestRebuildRootDisk(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SManagedVirtualizedGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestRenewInstance(ctx context.Context, guest *models.SGuest, bc billing.SBillingCycle) (time.Time, error)
- func (self *SManagedVirtualizedGuestDriver) RequestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestSetAutoRenewInstance(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestStartOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestStopOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestSyncConfigOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestSyncSecgroupsOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestSyncstatusOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SManagedVirtualizedGuestDriver) RequestUndeployGuestOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SManagedVirtualizedGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SManagedVirtualizedGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, ...) error
- type SNutanixGuestDriver
- func (self *SNutanixGuestDriver) AllowReconfigGuest() bool
- func (self *SNutanixGuestDriver) CanKeepDetachDisk() bool
- func (self *SNutanixGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SNutanixGuestDriver) DoGuestCreateDisksTask(ctx context.Context, guest *models.SGuest, task taskman.ITask) error
- func (self *SNutanixGuestDriver) DoScheduleCPUFilter() bool
- func (self *SNutanixGuestDriver) DoScheduleMemoryFilter() bool
- func (self *SNutanixGuestDriver) DoScheduleSKUFilter() bool
- func (self *SNutanixGuestDriver) DoScheduleStorageFilter() bool
- func (self *SNutanixGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SNutanixGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SNutanixGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SNutanixGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SNutanixGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SNutanixGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SNutanixGuestDriver) GetHypervisor() string
- func (self *SNutanixGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SNutanixGuestDriver) GetMaxSecurityGroupCount() int
- func (self *SNutanixGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SNutanixGuestDriver) GetProvider() string
- func (self *SNutanixGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SNutanixGuestDriver) GetUserDataType() string
- func (self *SNutanixGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SNutanixGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
- func (self *SNutanixGuestDriver) IsSupportEip() bool
- func (self *SNutanixGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SNutanixGuestDriver) RequestRenewInstance(ctx context.Context, guest *models.SGuest, bc billing.SBillingCycle) (time.Time, error)
- func (self *SNutanixGuestDriver) RequestSyncSecgroupsOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SNutanixGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SNutanixGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SOpenStackGuestDriver
- func (self *SOpenStackGuestDriver) AllowReconfigGuest() bool
- func (self *SOpenStackGuestDriver) CheckLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SOpenStackGuestDriver) CheckMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SOpenStackGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SOpenStackGuestDriver) DoScheduleCPUFilter() bool
- func (self *SOpenStackGuestDriver) DoScheduleMemoryFilter() bool
- func (self *SOpenStackGuestDriver) DoScheduleSKUFilter() bool
- func (self *SOpenStackGuestDriver) DoScheduleStorageFilter() bool
- func (self *SOpenStackGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SOpenStackGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SOpenStackGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SOpenStackGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SOpenStackGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SOpenStackGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SOpenStackGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SOpenStackGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SOpenStackGuestDriver) GetHypervisor() string
- func (self *SOpenStackGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SOpenStackGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SOpenStackGuestDriver) GetProvider() string
- func (self *SOpenStackGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SOpenStackGuestDriver) GetStorageTypes() []string
- func (self *SOpenStackGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SOpenStackGuestDriver) IsNeedRestartForResetLoginInfo() bool
- func (self *SOpenStackGuestDriver) IsRebuildRootSupportChangeImage() bool
- func (self *SOpenStackGuestDriver) IsSupportEip() bool
- func (self *SOpenStackGuestDriver) IsSupportLiveMigrate() bool
- func (self *SOpenStackGuestDriver) IsSupportMigrate() bool
- func (self *SOpenStackGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SOpenStackGuestDriver) IsWindowsUserDataTypeNeedEncode() bool
- func (self *SOpenStackGuestDriver) RemoteDeployGuestForRebuildRoot(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, ...) (jsonutils.JSONObject, error)
- func (self *SOpenStackGuestDriver) RequestLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SOpenStackGuestDriver) RequestMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SOpenStackGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SOpenStackGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SOpenStackGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SProxmoxGuestDriver
- func (self *SProxmoxGuestDriver) DoScheduleSKUFilter() bool
- func (self *SProxmoxGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SProxmoxGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SProxmoxGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SProxmoxGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SProxmoxGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SProxmoxGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SProxmoxGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SProxmoxGuestDriver) GetHypervisor() string
- func (self *SProxmoxGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SProxmoxGuestDriver) GetMaxSecurityGroupCount() int
- func (self *SProxmoxGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SProxmoxGuestDriver) GetProvider() string
- func (self *SProxmoxGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SProxmoxGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SProxmoxGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
- func (self *SProxmoxGuestDriver) IsSupportEip() bool
- func (self *SProxmoxGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, ...) error
- func (self *SProxmoxGuestDriver) RequestSyncSecgroupsOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SProxmoxGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, ...) error
- type SQcloudGuestDriver
- func (self *SQcloudGuestDriver) AllowReconfigGuest() bool
- func (self *SQcloudGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SQcloudGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SQcloudGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SQcloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SQcloudGuestDriver) GetDefaultAccount(desc cloudprovider.SManagedVMCreateConfig) string
- func (self *SQcloudGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SQcloudGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SQcloudGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SQcloudGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SQcloudGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SQcloudGuestDriver) GetHypervisor() string
- func (self *SQcloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SQcloudGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SQcloudGuestDriver) GetProvider() string
- func (self *SQcloudGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SQcloudGuestDriver) GetStorageTypes() []string
- func (self *SQcloudGuestDriver) GetUserDataType() string
- func (self *SQcloudGuestDriver) IsSupportPublicIp() bool
- func (self *SQcloudGuestDriver) IsSupportPublicipToEip() bool
- func (self *SQcloudGuestDriver) IsSupportSetAutoRenew() bool
- func (self *SQcloudGuestDriver) IsSupportdDcryptPasswordFromSecretKey() bool
- func (self *SQcloudGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SQcloudGuestDriver) ValidateChangeConfig(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SQcloudGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SQcloudGuestDriver) ValidateDetachDisk(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SQcloudGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SRemoteFileGuestDriver
- func (self *SRemoteFileGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SRemoteFileGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SRemoteFileGuestDriver) GetHypervisor() string
- func (self *SRemoteFileGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SRemoteFileGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SRemoteFileGuestDriver) GetProvider() string
- type SUCloudGuestDriver
- func (self *SUCloudGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SUCloudGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SUCloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SUCloudGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SUCloudGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SUCloudGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SUCloudGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SUCloudGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SUCloudGuestDriver) GetHypervisor() string
- func (self *SUCloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SUCloudGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SUCloudGuestDriver) GetProvider() string
- func (self *SUCloudGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SUCloudGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
- type SVirtualizedGuestDriver
- func (self *SVirtualizedGuestDriver) Attach2RandomNetwork(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) ([]models.SGuestnetwork, error)
- func (self *SVirtualizedGuestDriver) CanKeepDetachDisk() bool
- func (self *SVirtualizedGuestDriver) CheckDiskTemplateOnStorage(ctx context.Context, userCred mcclient.TokenCredential, imageId string, ...) error
- func (self *SVirtualizedGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (d *SVirtualizedGuestDriver) DoScheduleSKUFilter() bool
- func (self *SVirtualizedGuestDriver) GetMaxVCpuCount() int
- func (self *SVirtualizedGuestDriver) GetMaxVMemSizeGB() int
- func (self *SVirtualizedGuestDriver) GetNamedNetworkConfiguration(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) (*models.SNetwork, []models.SNicConfig, api.IPAllocationDirection, bool, error)
- func (self *SVirtualizedGuestDriver) GetRandomNetworkTypes() []string
- func (self *SVirtualizedGuestDriver) GetStorageTypes() []string
- func (self *SVirtualizedGuestDriver) PerformStart(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SVirtualizedGuestDriver) PrepareDiskRaidConfig(userCred mcclient.TokenCredential, host *models.SHost, ...) ([]*api.DiskConfig, error)
- func (self *SVirtualizedGuestDriver) RequestDeleteDetachedDisk(ctx context.Context, disk *models.SDisk, task taskman.ITask, isPurge bool) error
- func (self *SVirtualizedGuestDriver) RequestGuestCreateInsertIso(ctx context.Context, imageId string, guest *models.SGuest, task taskman.ITask) error
- func (self *SVirtualizedGuestDriver) RequestStopGuestForDelete(ctx context.Context, guest *models.SGuest, host *models.SHost, ...) error
- func (self *SVirtualizedGuestDriver) StartGuestAttachDiskTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SVirtualizedGuestDriver) StartGuestDetachdiskTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SVirtualizedGuestDriver) StartGuestResetTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SVirtualizedGuestDriver) StartGuestSaveGuestImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SVirtualizedGuestDriver) StartGuestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SVirtualizedGuestDriver) StartGuestStopTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SVirtualizedGuestDriver) StartGuestSyncstatusTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SVirtualizedGuestDriver) StartResumeTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SVirtualizedGuestDriver) StartSuspendTask(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, ...) error
- func (self *SVirtualizedGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SVirtualizedGuestDriver) ValidateCreateDataOnHost(ctx context.Context, userCred mcclient.TokenCredential, bmName string, ...) (*api.ServerCreateInput, error)
- type SZStackGuestDriver
- func (self *SZStackGuestDriver) AllowReconfigGuest() bool
- func (self *SZStackGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, ...) (*models.SStorage, error)
- func (self *SZStackGuestDriver) DoScheduleCPUFilter() bool
- func (self *SZStackGuestDriver) DoScheduleMemoryFilter() bool
- func (self *SZStackGuestDriver) DoScheduleSKUFilter() bool
- func (self *SZStackGuestDriver) DoScheduleStorageFilter() bool
- func (self *SZStackGuestDriver) GetAttachDiskStatus() ([]string, error)
- func (self *SZStackGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
- func (self *SZStackGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
- func (self *SZStackGuestDriver) GetDefaultSysDiskBackend() string
- func (self *SZStackGuestDriver) GetDeployStatus() ([]string, error)
- func (self *SZStackGuestDriver) GetDetachDiskStatus() ([]string, error)
- func (self *SZStackGuestDriver) GetGuestInitialStateAfterCreate() string
- func (self *SZStackGuestDriver) GetGuestInitialStateAfterRebuild() string
- func (self *SZStackGuestDriver) GetHypervisor() string
- func (self *SZStackGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
- func (self *SZStackGuestDriver) GetMaxSecurityGroupCount() int
- func (self *SZStackGuestDriver) GetMinimalSysDiskSizeGb() int
- func (self *SZStackGuestDriver) GetProvider() string
- func (self *SZStackGuestDriver) GetRebuildRootStatus() ([]string, error)
- func (self *SZStackGuestDriver) GetStorageTypes() []string
- func (self *SZStackGuestDriver) GetUserDataType() string
- func (self *SZStackGuestDriver) IsNeedInjectPasswordByCloudInit() bool
- func (self *SZStackGuestDriver) IsNeedRestartForResetLoginInfo() bool
- func (self *SZStackGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
- func (self *SZStackGuestDriver) IsWindowsUserDataTypeNeedEncode() bool
- func (self *SZStackGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (*api.ServerCreateInput, error)
- func (self *SZStackGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, ...) error
- func (self *SZStackGuestDriver) ValidateResizeDisk(guest *models.SGuest, disk *models.SDisk, storage *models.SStorage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCloudVMStatus ¶
func GetCloudVMStatus(vm cloudprovider.ICloudVM) string
Types ¶
type SAliyunGuestDriver ¶
type SAliyunGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SAliyunGuestDriver) AllowReconfigGuest ¶
func (self *SAliyunGuestDriver) AllowReconfigGuest() bool
func (*SAliyunGuestDriver) ChooseHostStorage ¶
func (*SAliyunGuestDriver) GetAttachDiskStatus ¶
func (self *SAliyunGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SAliyunGuestDriver) GetChangeConfigStatus ¶
func (self *SAliyunGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SAliyunGuestDriver) GetComputeQuotaKeys ¶
func (self *SAliyunGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SAliyunGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SAliyunGuestDriver) GetDefaultSysDiskBackend() string
func (*SAliyunGuestDriver) GetDeployStatus ¶
func (self *SAliyunGuestDriver) GetDeployStatus() ([]string, error)
func (*SAliyunGuestDriver) GetDetachDiskStatus ¶
func (self *SAliyunGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SAliyunGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SAliyunGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SAliyunGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SAliyunGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SAliyunGuestDriver) GetHypervisor ¶
func (self *SAliyunGuestDriver) GetHypervisor() string
func (*SAliyunGuestDriver) GetInstanceCapability ¶
func (self *SAliyunGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SAliyunGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SAliyunGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SAliyunGuestDriver) GetProvider ¶
func (self *SAliyunGuestDriver) GetProvider() string
func (*SAliyunGuestDriver) GetRebuildRootStatus ¶
func (self *SAliyunGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SAliyunGuestDriver) GetStorageTypes ¶
func (self *SAliyunGuestDriver) GetStorageTypes() []string
func (*SAliyunGuestDriver) IsSupportPublicIp ¶
func (self *SAliyunGuestDriver) IsSupportPublicIp() bool
func (*SAliyunGuestDriver) IsSupportPublicipToEip ¶
func (self *SAliyunGuestDriver) IsSupportPublicipToEip() bool
func (*SAliyunGuestDriver) IsSupportSetAutoRenew ¶
func (self *SAliyunGuestDriver) IsSupportSetAutoRenew() bool
func (*SAliyunGuestDriver) IsSupportedBillingCycle ¶
func (self *SAliyunGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SAliyunGuestDriver) RemoteActionAfterGuestCreated ¶
func (self *SAliyunGuestDriver) RemoteActionAfterGuestCreated(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, iVM cloudprovider.ICloudVM, desc *cloudprovider.SManagedVMCreateConfig)
func (*SAliyunGuestDriver) ValidateCreateData ¶
func (self *SAliyunGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SAliyunGuestDriver) ValidateResizeDisk ¶
type SApsaraGuestDriver ¶
type SApsaraGuestDriver struct {
SAliyunGuestDriver
}
func (*SApsaraGuestDriver) AllowReconfigGuest ¶
func (self *SApsaraGuestDriver) AllowReconfigGuest() bool
func (*SApsaraGuestDriver) DoScheduleSKUFilter ¶
func (self *SApsaraGuestDriver) DoScheduleSKUFilter() bool
func (*SApsaraGuestDriver) GetComputeQuotaKeys ¶
func (self *SApsaraGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SApsaraGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SApsaraGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SApsaraGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SApsaraGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SApsaraGuestDriver) GetHypervisor ¶
func (self *SApsaraGuestDriver) GetHypervisor() string
func (*SApsaraGuestDriver) GetProvider ¶
func (self *SApsaraGuestDriver) GetProvider() string
func (*SApsaraGuestDriver) IsSupportPublicipToEip ¶
func (self *SApsaraGuestDriver) IsSupportPublicipToEip() bool
func (*SApsaraGuestDriver) IsSupportSetAutoRenew ¶
func (self *SApsaraGuestDriver) IsSupportSetAutoRenew() bool
func (*SApsaraGuestDriver) IsSupportedBillingCycle ¶
func (self *SApsaraGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
type SAwsGuestDriver ¶
type SAwsGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SAwsGuestDriver) ChooseHostStorage ¶
func (*SAwsGuestDriver) GetAttachDiskStatus ¶
func (self *SAwsGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SAwsGuestDriver) GetChangeConfigStatus ¶
func (self *SAwsGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SAwsGuestDriver) GetComputeQuotaKeys ¶
func (self *SAwsGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SAwsGuestDriver) GetDefaultAccount ¶
func (self *SAwsGuestDriver) GetDefaultAccount(desc cloudprovider.SManagedVMCreateConfig) string
func (*SAwsGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SAwsGuestDriver) GetDefaultSysDiskBackend() string
func (*SAwsGuestDriver) GetDeployStatus ¶
func (self *SAwsGuestDriver) GetDeployStatus() ([]string, error)
func (*SAwsGuestDriver) GetDetachDiskStatus ¶
func (self *SAwsGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SAwsGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SAwsGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SAwsGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SAwsGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SAwsGuestDriver) GetHypervisor ¶
func (self *SAwsGuestDriver) GetHypervisor() string
func (*SAwsGuestDriver) GetInstanceCapability ¶
func (self *SAwsGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SAwsGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SAwsGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SAwsGuestDriver) GetProvider ¶
func (self *SAwsGuestDriver) GetProvider() string
func (*SAwsGuestDriver) GetRebuildRootStatus ¶
func (self *SAwsGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SAwsGuestDriver) GetStorageTypes ¶
func (self *SAwsGuestDriver) GetStorageTypes() []string
func (*SAwsGuestDriver) GetWindowsUserDataType ¶
func (self *SAwsGuestDriver) GetWindowsUserDataType() string
func (*SAwsGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SAwsGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SAwsGuestDriver) IsSupportedBillingCycle ¶
func (self *SAwsGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SAwsGuestDriver) IsWindowsUserDataTypeNeedEncode ¶
func (self *SAwsGuestDriver) IsWindowsUserDataTypeNeedEncode() bool
func (*SAwsGuestDriver) ValidateCreateData ¶
func (self *SAwsGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SAwsGuestDriver) ValidateResizeDisk ¶
type SAzureGuestDriver ¶
type SAzureGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SAzureGuestDriver) ChooseHostStorage ¶
func (*SAzureGuestDriver) GetAttachDiskStatus ¶
func (self *SAzureGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SAzureGuestDriver) GetChangeConfigStatus ¶
func (self *SAzureGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SAzureGuestDriver) GetComputeQuotaKeys ¶
func (self *SAzureGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SAzureGuestDriver) GetDefaultAccount ¶
func (self *SAzureGuestDriver) GetDefaultAccount(desc cloudprovider.SManagedVMCreateConfig) string
func (*SAzureGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SAzureGuestDriver) GetDefaultSysDiskBackend() string
func (*SAzureGuestDriver) GetDeployStatus ¶
func (self *SAzureGuestDriver) GetDeployStatus() ([]string, error)
func (*SAzureGuestDriver) GetDetachDiskStatus ¶
func (self *SAzureGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SAzureGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SAzureGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SAzureGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SAzureGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SAzureGuestDriver) GetHypervisor ¶
func (self *SAzureGuestDriver) GetHypervisor() string
func (*SAzureGuestDriver) GetInstanceCapability ¶
func (self *SAzureGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SAzureGuestDriver) GetMaxSecurityGroupCount ¶
func (self *SAzureGuestDriver) GetMaxSecurityGroupCount() int
func (*SAzureGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SAzureGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SAzureGuestDriver) GetProvider ¶
func (self *SAzureGuestDriver) GetProvider() string
func (*SAzureGuestDriver) GetRebuildRootStatus ¶
func (self *SAzureGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SAzureGuestDriver) GetStorageTypes ¶
func (self *SAzureGuestDriver) GetStorageTypes() []string
func (*SAzureGuestDriver) IsNeedRestartForResetLoginInfo ¶
func (self *SAzureGuestDriver) IsNeedRestartForResetLoginInfo() bool
func (*SAzureGuestDriver) IsRebuildRootSupportChangeUEFI ¶
func (self *SAzureGuestDriver) IsRebuildRootSupportChangeUEFI() bool
func (*SAzureGuestDriver) IsSupportedBillingCycle ¶
func (self *SAzureGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SAzureGuestDriver) ValidateCreateData ¶
func (self *SAzureGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SAzureGuestDriver) ValidateImage ¶
func (self *SAzureGuestDriver) ValidateImage(ctx context.Context, image *cloudprovider.SImage) error
func (*SAzureGuestDriver) ValidateResizeDisk ¶
type SBaremetalGuestDriver ¶
type SBaremetalGuestDriver struct {
SBaseGuestDriver
}
func (*SBaremetalGuestDriver) Attach2RandomNetwork ¶
func (self *SBaremetalGuestDriver) Attach2RandomNetwork(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, netConfig *api.NetworkConfig, pendingUsage quotas.IQuota) ([]models.SGuestnetwork, error)
func (*SBaremetalGuestDriver) CanKeepDetachDisk ¶
func (self *SBaremetalGuestDriver) CanKeepDetachDisk() bool
func (*SBaremetalGuestDriver) CheckDiskTemplateOnStorage ¶
func (*SBaremetalGuestDriver) ChooseHostStorage ¶
func (*SBaremetalGuestDriver) GetChangeConfigStatus ¶
func (self *SBaremetalGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SBaremetalGuestDriver) GetComputeQuotaKeys ¶
func (self *SBaremetalGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SBaremetalGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SBaremetalGuestDriver) GetDefaultSysDiskBackend() string
func (*SBaremetalGuestDriver) GetDeployStatus ¶
func (self *SBaremetalGuestDriver) GetDeployStatus() ([]string, error)
func (*SBaremetalGuestDriver) GetGuestVncInfo ¶
func (self *SBaremetalGuestDriver) GetGuestVncInfo(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SBaremetalGuestDriver) GetHypervisor ¶
func (self *SBaremetalGuestDriver) GetHypervisor() string
func (*SBaremetalGuestDriver) GetInstanceCapability ¶
func (self *SBaremetalGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SBaremetalGuestDriver) GetJsonDescAtHost ¶
func (self *SBaremetalGuestDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, params *jsonutils.JSONDict) (jsonutils.JSONObject, error)
func (*SBaremetalGuestDriver) GetMaxSecurityGroupCount ¶
func (self *SBaremetalGuestDriver) GetMaxSecurityGroupCount() int
func (*SBaremetalGuestDriver) GetMaxVCpuCount ¶
func (self *SBaremetalGuestDriver) GetMaxVCpuCount() int
func (*SBaremetalGuestDriver) GetMaxVMemSizeGB ¶
func (self *SBaremetalGuestDriver) GetMaxVMemSizeGB() int
func (*SBaremetalGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SBaremetalGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SBaremetalGuestDriver) GetNamedNetworkConfiguration ¶
func (self *SBaremetalGuestDriver) GetNamedNetworkConfiguration(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, netConfig *api.NetworkConfig) (*models.SNetwork, []models.SNicConfig, api.IPAllocationDirection, bool, error)
func (*SBaremetalGuestDriver) GetProvider ¶
func (self *SBaremetalGuestDriver) GetProvider() string
func (*SBaremetalGuestDriver) GetRandomNetworkTypes ¶
func (self *SBaremetalGuestDriver) GetRandomNetworkTypes() []string
func (*SBaremetalGuestDriver) GetRebuildRootStatus ¶
func (self *SBaremetalGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SBaremetalGuestDriver) GetStorageTypes ¶
func (self *SBaremetalGuestDriver) GetStorageTypes() []string
func (*SBaremetalGuestDriver) IsDisableImageCache ¶
func (self *SBaremetalGuestDriver) IsDisableImageCache(gst *models.SGuest) (bool, error)
func (*SBaremetalGuestDriver) IsSupportCdrom ¶
func (self *SBaremetalGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
func (*SBaremetalGuestDriver) IsSupportFloppy ¶
func (self *SBaremetalGuestDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
func (*SBaremetalGuestDriver) IsSupportGuestClone ¶
func (self *SBaremetalGuestDriver) IsSupportGuestClone() bool
func (*SBaremetalGuestDriver) NeedRequestGuestHotAddIso ¶
func (*SBaremetalGuestDriver) OnDeleteGuestFinalCleanup ¶
func (self *SBaremetalGuestDriver) OnDeleteGuestFinalCleanup(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential) error
func (*SBaremetalGuestDriver) OnGuestDeployTaskDataReceived ¶
func (self *SBaremetalGuestDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, data jsonutils.JSONObject) error
func (*SBaremetalGuestDriver) PerformStart ¶
func (self *SBaremetalGuestDriver) PerformStart(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, data *jsonutils.JSONDict) error
func (*SBaremetalGuestDriver) PrepareDiskRaidConfig ¶
func (self *SBaremetalGuestDriver) PrepareDiskRaidConfig(userCred mcclient.TokenCredential, host *models.SHost, confs []*api.BaremetalDiskConfig, disks []*api.DiskConfig) ([]*api.DiskConfig, error)
func (*SBaremetalGuestDriver) RequestDeployGuestOnHost ¶
func (*SBaremetalGuestDriver) RequestGuestCreateAllDisks ¶
func (*SBaremetalGuestDriver) RequestGuestCreateInsertIso ¶
func (*SBaremetalGuestDriver) RequestGuestHotAddIso ¶
func (*SBaremetalGuestDriver) RequestGuestHotRemoveIso ¶
func (*SBaremetalGuestDriver) RequestRebuildRootDisk ¶
func (*SBaremetalGuestDriver) RequestStartOnHost ¶
func (*SBaremetalGuestDriver) RequestStopGuestForDelete ¶
func (*SBaremetalGuestDriver) RequestStopOnHost ¶
func (*SBaremetalGuestDriver) RequestSyncConfigOnHost ¶
func (*SBaremetalGuestDriver) RequestSyncstatusOnHost ¶
func (*SBaremetalGuestDriver) RequestUndeployGuestOnHost ¶
func (*SBaremetalGuestDriver) StartGuestAttachDiskTask ¶
func (*SBaremetalGuestDriver) StartGuestDetachdiskTask ¶
func (*SBaremetalGuestDriver) StartGuestResetTask ¶
func (self *SBaremetalGuestDriver) StartGuestResetTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, isHard bool, parentTaskId string) error
func (*SBaremetalGuestDriver) StartGuestSaveGuestImage ¶
func (*SBaremetalGuestDriver) StartGuestSaveImage ¶
func (*SBaremetalGuestDriver) StartGuestStopTask ¶
func (*SBaremetalGuestDriver) StartGuestSyncstatusTask ¶
func (self *SBaremetalGuestDriver) StartGuestSyncstatusTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, parentTaskId string) error
func (*SBaremetalGuestDriver) StartResumeTask ¶
func (*SBaremetalGuestDriver) StartSuspendTask ¶
func (*SBaremetalGuestDriver) ValidateCreateData ¶
func (self *SBaremetalGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SBaremetalGuestDriver) ValidateCreateDataOnHost ¶
func (self *SBaremetalGuestDriver) ValidateCreateDataOnHost(ctx context.Context, userCred mcclient.TokenCredential, bmName string, host *models.SHost, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SBaremetalGuestDriver) ValidateResizeDisk ¶
type SBaseGuestDriver ¶
type SBaseGuestDriver struct {
SBaseGuestScheduleDriver
}
func (*SBaseGuestDriver) AllowReconfigGuest ¶
func (self *SBaseGuestDriver) AllowReconfigGuest() bool
func (*SBaseGuestDriver) CancelExpireTime ¶
func (self *SBaseGuestDriver) CancelExpireTime( ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest) error
func (*SBaseGuestDriver) CheckLiveMigrate ¶
func (self *SBaseGuestDriver) CheckLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.GuestLiveMigrateInput) error
func (*SBaseGuestDriver) CheckMigrate ¶
func (self *SBaseGuestDriver) CheckMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.GuestMigrateInput) error
func (*SBaseGuestDriver) DoGuestCreateDisksTask ¶
func (*SBaseGuestDriver) GetAttachDiskStatus ¶
func (self *SBaseGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SBaseGuestDriver) GetChangeConfigStatus ¶
func (self *SBaseGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SBaseGuestDriver) GetDefaultAccount ¶
func (self *SBaseGuestDriver) GetDefaultAccount(desc cloudprovider.SManagedVMCreateConfig) string
func (*SBaseGuestDriver) GetDeployStatus ¶
func (self *SBaseGuestDriver) GetDeployStatus() ([]string, error)
func (*SBaseGuestDriver) GetDetachDiskStatus ¶
func (self *SBaseGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SBaseGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SBaseGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SBaseGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SBaseGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SBaseGuestDriver) GetMaxSecurityGroupCount ¶
func (self *SBaseGuestDriver) GetMaxSecurityGroupCount() int
func (*SBaseGuestDriver) GetRebuildRootStatus ¶
func (self *SBaseGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SBaseGuestDriver) GetUserDataType ¶
func (self *SBaseGuestDriver) GetUserDataType() string
func (*SBaseGuestDriver) GetWindowsUserDataType ¶
func (self *SBaseGuestDriver) GetWindowsUserDataType() string
func (*SBaseGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SBaseGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SBaseGuestDriver) IsNeedRestartForResetLoginInfo ¶
func (self *SBaseGuestDriver) IsNeedRestartForResetLoginInfo() bool
func (*SBaseGuestDriver) IsRebuildRootSupportChangeImage ¶
func (self *SBaseGuestDriver) IsRebuildRootSupportChangeImage() bool
func (*SBaseGuestDriver) IsRebuildRootSupportChangeUEFI ¶
func (self *SBaseGuestDriver) IsRebuildRootSupportChangeUEFI() bool
func (*SBaseGuestDriver) IsSupportEip ¶
func (self *SBaseGuestDriver) IsSupportEip() bool
func (*SBaseGuestDriver) IsSupportGuestClone ¶
func (self *SBaseGuestDriver) IsSupportGuestClone() bool
func (*SBaseGuestDriver) IsSupportLiveMigrate ¶
func (self *SBaseGuestDriver) IsSupportLiveMigrate() bool
func (*SBaseGuestDriver) IsSupportMigrate ¶
func (self *SBaseGuestDriver) IsSupportMigrate() bool
func (*SBaseGuestDriver) IsSupportPostpaidExpire ¶
func (self *SBaseGuestDriver) IsSupportPostpaidExpire() bool
func (*SBaseGuestDriver) IsSupportPublicIp ¶
func (self *SBaseGuestDriver) IsSupportPublicIp() bool
func (*SBaseGuestDriver) IsSupportPublicipToEip ¶
func (self *SBaseGuestDriver) IsSupportPublicipToEip() bool
func (*SBaseGuestDriver) IsSupportSetAutoRenew ¶
func (self *SBaseGuestDriver) IsSupportSetAutoRenew() bool
func (*SBaseGuestDriver) IsSupportdDcryptPasswordFromSecretKey ¶
func (self *SBaseGuestDriver) IsSupportdDcryptPasswordFromSecretKey() bool
func (*SBaseGuestDriver) IsSupportedBillingCycle ¶
func (self *SBaseGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SBaseGuestDriver) IsWindowsUserDataTypeNeedEncode ¶
func (self *SBaseGuestDriver) IsWindowsUserDataTypeNeedEncode() bool
func (*SBaseGuestDriver) NeedRequestGuestHotAddIso ¶
func (*SBaseGuestDriver) NeedRequestGuestHotAddVfd ¶
func (*SBaseGuestDriver) NeedStopForChangeSpec ¶
func (*SBaseGuestDriver) OnDeleteGuestFinalCleanup ¶
func (self *SBaseGuestDriver) OnDeleteGuestFinalCleanup(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential) error
func (*SBaseGuestDriver) OnGuestChangeCpuMemFailed ¶
func (*SBaseGuestDriver) OnGuestCreateTaskComplete ¶
func (*SBaseGuestDriver) QgaRequestGuestPing ¶
func (*SBaseGuestDriver) QgaRequestSetUserPassword ¶
func (*SBaseGuestDriver) RemoteActionAfterGuestCreated ¶
func (self *SBaseGuestDriver) RemoteActionAfterGuestCreated(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, ivm cloudprovider.ICloudVM, desc *cloudprovider.SManagedVMCreateConfig)
func (*SBaseGuestDriver) RemoteDeployGuestForCreate ¶
func (self *SBaseGuestDriver) RemoteDeployGuestForCreate(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, desc cloudprovider.SManagedVMCreateConfig) (jsonutils.JSONObject, error)
func (*SBaseGuestDriver) RemoteDeployGuestForDeploy ¶
func (self *SBaseGuestDriver) RemoteDeployGuestForDeploy(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, task taskman.ITask, desc cloudprovider.SManagedVMCreateConfig) (jsonutils.JSONObject, error)
func (*SBaseGuestDriver) RemoteDeployGuestForRebuildRoot ¶
func (self *SBaseGuestDriver) RemoteDeployGuestForRebuildRoot(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, task taskman.ITask, desc cloudprovider.SManagedVMCreateConfig) (jsonutils.JSONObject, error)
func (*SBaseGuestDriver) RemoteDeployGuestSyncHost ¶
func (self *SBaseGuestDriver) RemoteDeployGuestSyncHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, iVM cloudprovider.ICloudVM) (cloudprovider.ICloudHost, error)
func (*SBaseGuestDriver) RequestAttachDisk ¶
func (*SBaseGuestDriver) RequestCPUSet ¶
func (self *SBaseGuestDriver) RequestCPUSet(ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, guest *models.SGuest, input *api.ServerCPUSetInput) (*api.ServerCPUSetResp, error)
func (*SBaseGuestDriver) RequestCPUSetRemove ¶
func (self *SBaseGuestDriver) RequestCPUSetRemove(ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, guest *models.SGuest, input *api.ServerCPUSetRemoveInput) error
func (*SBaseGuestDriver) RequestChangeDiskStorage ¶
func (self *SBaseGuestDriver) RequestChangeDiskStorage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input *api.ServerChangeDiskStorageInternalInput, task taskman.ITask) error
func (*SBaseGuestDriver) RequestChangeVmConfig ¶
func (*SBaseGuestDriver) RequestCloseForward ¶
func (self *SBaseGuestDriver) RequestCloseForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, req *guestdriver_types.CloseForwardRequest) (*guestdriver_types.CloseForwardResponse, error)
func (*SBaseGuestDriver) RequestConvertPublicipToEip ¶
func (self *SBaseGuestDriver) RequestConvertPublicipToEip(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, task taskman.ITask) error
func (*SBaseGuestDriver) RequestDeleteDetachedDisk ¶
func (*SBaseGuestDriver) RequestDeleteSnapshot ¶
func (*SBaseGuestDriver) RequestDetachDisk ¶
func (*SBaseGuestDriver) RequestDetachDisksFromGuestForDelete ¶
func (*SBaseGuestDriver) RequestDiskSnapshot ¶
func (*SBaseGuestDriver) RequestGuestCreateAllDisks ¶
func (*SBaseGuestDriver) RequestGuestHotAddIso ¶
func (*SBaseGuestDriver) RequestGuestHotAddVfd ¶
func (*SBaseGuestDriver) RequestGuestHotRemoveIso ¶
func (*SBaseGuestDriver) RequestGuestHotRemoveVfd ¶
func (*SBaseGuestDriver) RequestListForward ¶
func (self *SBaseGuestDriver) RequestListForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, req *guestdriver_types.ListForwardRequest) (*guestdriver_types.ListForwardResponse, error)
func (*SBaseGuestDriver) RequestLiveMigrate ¶
func (*SBaseGuestDriver) RequestMigrate ¶
func (*SBaseGuestDriver) RequestOpenForward ¶
func (self *SBaseGuestDriver) RequestOpenForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, req *guestdriver_types.OpenForwardRequest) (*guestdriver_types.OpenForwardResponse, error)
func (*SBaseGuestDriver) RequestQgaCommand ¶
func (self *SBaseGuestDriver) RequestQgaCommand(ctx context.Context, userCred mcclient.TokenCredential, body jsonutils.JSONObject, host *models.SHost, guest *models.SGuest) (jsonutils.JSONObject, error)
func (*SBaseGuestDriver) RequestRebuildRootDisk ¶
func (*SBaseGuestDriver) RequestReloadDiskSnapshot ¶
func (*SBaseGuestDriver) RequestRemoteUpdate ¶
func (self *SBaseGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, replaceTags bool) error
func (*SBaseGuestDriver) RequestRenewInstance ¶
func (self *SBaseGuestDriver) RequestRenewInstance(ctx context.Context, guest *models.SGuest, bc billing.SBillingCycle) (time.Time, error)
func (*SBaseGuestDriver) RequestResumeOnHost ¶
func (*SBaseGuestDriver) RequestSaveImage ¶
func (self *SBaseGuestDriver) RequestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, task taskman.ITask) error
func (*SBaseGuestDriver) RequestSetAutoRenewInstance ¶
func (self *SBaseGuestDriver) RequestSetAutoRenewInstance(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input api.GuestAutoRenewInput, task taskman.ITask) error
func (*SBaseGuestDriver) RequestSoftReset ¶
func (*SBaseGuestDriver) RequestSuspendOnHost ¶
func (*SBaseGuestDriver) RequestSwitchToTargetStorageDisk ¶
func (self *SBaseGuestDriver) RequestSwitchToTargetStorageDisk(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input *api.ServerChangeDiskStorageInternalInput, task taskman.ITask) error
func (*SBaseGuestDriver) RequestSyncConfigOnHost ¶
func (*SBaseGuestDriver) RequestSyncIsolatedDevice ¶
func (*SBaseGuestDriver) RequestSyncSecgroupsOnHost ¶
func (*SBaseGuestDriver) RequestSyncToBackup ¶
func (*SBaseGuestDriver) StartChangeDiskStorageTask ¶
func (self *SBaseGuestDriver) StartChangeDiskStorageTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, params *api.ServerChangeDiskStorageInternalInput, parentTaskId string) error
func (*SBaseGuestDriver) StartDeleteGuestTask ¶
func (*SBaseGuestDriver) StartGuestCreateTask ¶
func (*SBaseGuestDriver) StartGuestResetTask ¶
func (self *SBaseGuestDriver) StartGuestResetTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, isHard bool, parentTaskId string) error
func (*SBaseGuestDriver) StartGuestRestartTask ¶
func (self *SBaseGuestDriver) StartGuestRestartTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, isForce bool, parentTaskId string) error
func (*SBaseGuestDriver) ValidateChangeConfig ¶
func (self *SBaseGuestDriver) ValidateChangeConfig(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, cpuChanged bool, memChanged bool, newDisks []*api.DiskConfig) error
func (*SBaseGuestDriver) ValidateChangeDiskStorage ¶
func (self *SBaseGuestDriver) ValidateChangeDiskStorage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input *api.ServerChangeDiskStorageInput) error
func (*SBaseGuestDriver) ValidateCreateEip ¶
func (self *SBaseGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, input api.ServerCreateEipInput) error
func (*SBaseGuestDriver) ValidateDetachDisk ¶
func (self *SBaseGuestDriver) ValidateDetachDisk(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, disk *models.SDisk) error
func (*SBaseGuestDriver) ValidateDetachNetwork ¶
func (self *SBaseGuestDriver) ValidateDetachNetwork(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest) error
func (*SBaseGuestDriver) ValidateImage ¶
func (self *SBaseGuestDriver) ValidateImage(ctx context.Context, image *cloudprovider.SImage) error
func (*SBaseGuestDriver) ValidateRebuildRoot ¶
func (self *SBaseGuestDriver) ValidateRebuildRoot(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input *api.ServerRebuildRootInput) (*api.ServerRebuildRootInput, error)
func (*SBaseGuestDriver) ValidateResizeDisk ¶
func (*SBaseGuestDriver) ValidateUpdateData ¶
func (self *SBaseGuestDriver) ValidateUpdateData(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.ServerUpdateInput) (api.ServerUpdateInput, error)
type SBaseGuestScheduleDriver ¶
type SBaseGuestScheduleDriver struct{}
func (SBaseGuestScheduleDriver) DoScheduleCPUFilter ¶
func (d SBaseGuestScheduleDriver) DoScheduleCPUFilter() bool
func (SBaseGuestScheduleDriver) DoScheduleCloudproviderTagFilter ¶
func (d SBaseGuestScheduleDriver) DoScheduleCloudproviderTagFilter() bool
func (SBaseGuestScheduleDriver) DoScheduleMemoryFilter ¶
func (d SBaseGuestScheduleDriver) DoScheduleMemoryFilter() bool
func (SBaseGuestScheduleDriver) DoScheduleSKUFilter ¶
func (d SBaseGuestScheduleDriver) DoScheduleSKUFilter() bool
func (SBaseGuestScheduleDriver) DoScheduleStorageFilter ¶
func (d SBaseGuestScheduleDriver) DoScheduleStorageFilter() bool
type SBingoCloudGuestDriver ¶
type SBingoCloudGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SBingoCloudGuestDriver) GetComputeQuotaKeys ¶
func (self *SBingoCloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SBingoCloudGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SBingoCloudGuestDriver) GetDefaultSysDiskBackend() string
func (*SBingoCloudGuestDriver) GetHypervisor ¶
func (self *SBingoCloudGuestDriver) GetHypervisor() string
func (*SBingoCloudGuestDriver) GetInstanceCapability ¶
func (self *SBingoCloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SBingoCloudGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SBingoCloudGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SBingoCloudGuestDriver) GetProvider ¶
func (self *SBingoCloudGuestDriver) GetProvider() string
type SCloudpodsGuestDriver ¶
type SCloudpodsGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SCloudpodsGuestDriver) DoScheduleCPUFilter ¶
func (self *SCloudpodsGuestDriver) DoScheduleCPUFilter() bool
func (*SCloudpodsGuestDriver) DoScheduleMemoryFilter ¶
func (self *SCloudpodsGuestDriver) DoScheduleMemoryFilter() bool
func (*SCloudpodsGuestDriver) DoScheduleSKUFilter ¶
func (self *SCloudpodsGuestDriver) DoScheduleSKUFilter() bool
func (*SCloudpodsGuestDriver) DoScheduleStorageFilter ¶
func (self *SCloudpodsGuestDriver) DoScheduleStorageFilter() bool
func (*SCloudpodsGuestDriver) GetAttachDiskStatus ¶
func (self *SCloudpodsGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SCloudpodsGuestDriver) GetChangeConfigStatus ¶
func (self *SCloudpodsGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SCloudpodsGuestDriver) GetComputeQuotaKeys ¶
func (self *SCloudpodsGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SCloudpodsGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SCloudpodsGuestDriver) GetDefaultSysDiskBackend() string
func (*SCloudpodsGuestDriver) GetDeployStatus ¶
func (self *SCloudpodsGuestDriver) GetDeployStatus() ([]string, error)
func (*SCloudpodsGuestDriver) GetDetachDiskStatus ¶
func (self *SCloudpodsGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SCloudpodsGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SCloudpodsGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SCloudpodsGuestDriver) GetHypervisor ¶
func (self *SCloudpodsGuestDriver) GetHypervisor() string
func (*SCloudpodsGuestDriver) GetInstanceCapability ¶
func (self *SCloudpodsGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SCloudpodsGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SCloudpodsGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SCloudpodsGuestDriver) GetProvider ¶
func (self *SCloudpodsGuestDriver) GetProvider() string
func (*SCloudpodsGuestDriver) GetRebuildRootStatus ¶
func (self *SCloudpodsGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SCloudpodsGuestDriver) IsSupportCdrom ¶
func (self *SCloudpodsGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
func (*SCloudpodsGuestDriver) IsSupportFloppy ¶
func (self *SCloudpodsGuestDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
func (*SCloudpodsGuestDriver) IsSupportLiveMigrate ¶
func (self *SCloudpodsGuestDriver) IsSupportLiveMigrate() bool
func (*SCloudpodsGuestDriver) IsSupportMigrate ¶
func (self *SCloudpodsGuestDriver) IsSupportMigrate() bool
func (*SCloudpodsGuestDriver) ValidateResizeDisk ¶
type SContainerDriver ¶
type SContainerDriver struct {
SVirtualizedGuestDriver
}
func (*SContainerDriver) CanKeepDetachDisk ¶
func (self *SContainerDriver) CanKeepDetachDisk() bool
func (*SContainerDriver) DoGuestCreateDisksTask ¶
func (*SContainerDriver) GetComputeQuotaKeys ¶
func (self *SContainerDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
for backward compatibility, deprecated driver
func (*SContainerDriver) GetDefaultSysDiskBackend ¶
func (self *SContainerDriver) GetDefaultSysDiskBackend() string
func (*SContainerDriver) GetGuestVncInfo ¶
func (self *SContainerDriver) GetGuestVncInfo(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SContainerDriver) GetHypervisor ¶
func (self *SContainerDriver) GetHypervisor() string
func (*SContainerDriver) GetInstanceCapability ¶
func (self *SContainerDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SContainerDriver) GetJsonDescAtHost ¶
func (self *SContainerDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, params *jsonutils.JSONDict) (jsonutils.JSONObject, error)
func (*SContainerDriver) GetMinimalSysDiskSizeGb ¶
func (self *SContainerDriver) GetMinimalSysDiskSizeGb() int
func (*SContainerDriver) GetProvider ¶
func (self *SContainerDriver) GetProvider() string
func (*SContainerDriver) GetRandomNetworkTypes ¶
func (self *SContainerDriver) GetRandomNetworkTypes() []string
func (*SContainerDriver) IsSupportCdrom ¶
func (self *SContainerDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
func (*SContainerDriver) IsSupportFloppy ¶
func (self *SContainerDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
func (*SContainerDriver) IsSupportGuestClone ¶
func (self *SContainerDriver) IsSupportGuestClone() bool
func (*SContainerDriver) OnDeleteGuestFinalCleanup ¶
func (self *SContainerDriver) OnDeleteGuestFinalCleanup(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential) error
func (*SContainerDriver) OnGuestDeployTaskDataReceived ¶
func (self *SContainerDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, data jsonutils.JSONObject) error
func (*SContainerDriver) RequestChangeVmConfig ¶
func (*SContainerDriver) RequestDeployGuestOnHost ¶
func (*SContainerDriver) RequestDetachDisk ¶
func (*SContainerDriver) RequestDetachDisksFromGuestForDelete ¶
func (*SContainerDriver) RequestGuestCreateAllDisks ¶
func (*SContainerDriver) RequestGuestHotAddIso ¶
func (*SContainerDriver) RequestRebuildRootDisk ¶
func (*SContainerDriver) RequestSoftReset ¶
func (*SContainerDriver) RequestStartOnHost ¶
func (*SContainerDriver) RequestStopGuestForDelete ¶
func (*SContainerDriver) RequestStopOnHost ¶
func (*SContainerDriver) RequestSyncConfigOnHost ¶
func (*SContainerDriver) RequestSyncstatusOnHost ¶
func (*SContainerDriver) RequestUndeployGuestOnHost ¶
func (*SContainerDriver) RqeuestSuspendOnHost ¶
func (*SContainerDriver) StartGuestRestartTask ¶
func (self *SContainerDriver) StartGuestRestartTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, isForce bool, parentTaskId string) error
type SCtyunGuestDriver ¶
type SCtyunGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SCtyunGuestDriver) GetAttachDiskStatus ¶
func (self *SCtyunGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SCtyunGuestDriver) GetChangeConfigStatus ¶
func (self *SCtyunGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SCtyunGuestDriver) GetComputeQuotaKeys ¶
func (self *SCtyunGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SCtyunGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SCtyunGuestDriver) GetDefaultSysDiskBackend() string
func (*SCtyunGuestDriver) GetDeployStatus ¶
func (self *SCtyunGuestDriver) GetDeployStatus() ([]string, error)
func (*SCtyunGuestDriver) GetDetachDiskStatus ¶
func (self *SCtyunGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SCtyunGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SCtyunGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SCtyunGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SCtyunGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SCtyunGuestDriver) GetHypervisor ¶
func (self *SCtyunGuestDriver) GetHypervisor() string
func (*SCtyunGuestDriver) GetInstanceCapability ¶
func (self *SCtyunGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SCtyunGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SCtyunGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SCtyunGuestDriver) GetProvider ¶
func (self *SCtyunGuestDriver) GetProvider() string
func (*SCtyunGuestDriver) GetRebuildRootStatus ¶
func (self *SCtyunGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SCtyunGuestDriver) ValidateResizeDisk ¶
type SESXiGuestDriver ¶
type SESXiGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SESXiGuestDriver) AllowReconfigGuest ¶
func (self *SESXiGuestDriver) AllowReconfigGuest() bool
func (*SESXiGuestDriver) CanKeepDetachDisk ¶
func (self *SESXiGuestDriver) CanKeepDetachDisk() bool
func (*SESXiGuestDriver) CheckLiveMigrate ¶
func (self *SESXiGuestDriver) CheckLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.GuestLiveMigrateInput) error
func (*SESXiGuestDriver) CheckMigrate ¶
func (self *SESXiGuestDriver) CheckMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.GuestMigrateInput) error
func (*SESXiGuestDriver) ChooseHostStorage ¶
func (*SESXiGuestDriver) DoGuestCreateDisksTask ¶
func (*SESXiGuestDriver) DoScheduleCPUFilter ¶
func (self *SESXiGuestDriver) DoScheduleCPUFilter() bool
func (*SESXiGuestDriver) DoScheduleMemoryFilter ¶
func (self *SESXiGuestDriver) DoScheduleMemoryFilter() bool
func (*SESXiGuestDriver) DoScheduleSKUFilter ¶
func (self *SESXiGuestDriver) DoScheduleSKUFilter() bool
func (*SESXiGuestDriver) DoScheduleStorageFilter ¶
func (self *SESXiGuestDriver) DoScheduleStorageFilter() bool
func (*SESXiGuestDriver) GetAttachDiskStatus ¶
func (self *SESXiGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SESXiGuestDriver) GetChangeConfigStatus ¶
func (self *SESXiGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SESXiGuestDriver) GetComputeQuotaKeys ¶
func (self *SESXiGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SESXiGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SESXiGuestDriver) GetDefaultSysDiskBackend() string
func (*SESXiGuestDriver) GetDeployStatus ¶
func (self *SESXiGuestDriver) GetDeployStatus() ([]string, error)
func (*SESXiGuestDriver) GetDetachDiskStatus ¶
func (self *SESXiGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SESXiGuestDriver) GetHypervisor ¶
func (self *SESXiGuestDriver) GetHypervisor() string
func (*SESXiGuestDriver) GetInstanceCapability ¶
func (self *SESXiGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SESXiGuestDriver) GetJsonDescAtHost ¶
func (self *SESXiGuestDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, params *jsonutils.JSONDict) (jsonutils.JSONObject, error)
func (*SESXiGuestDriver) GetMaxSecurityGroupCount ¶
func (self *SESXiGuestDriver) GetMaxSecurityGroupCount() int
func (*SESXiGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SESXiGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SESXiGuestDriver) GetProvider ¶
func (self *SESXiGuestDriver) GetProvider() string
func (*SESXiGuestDriver) GetRebuildRootStatus ¶
func (self *SESXiGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SESXiGuestDriver) IsSupportCdrom ¶
func (self *SESXiGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
func (*SESXiGuestDriver) IsSupportEip ¶
func (self *SESXiGuestDriver) IsSupportEip() bool
func (*SESXiGuestDriver) IsSupportLiveMigrate ¶
func (self *SESXiGuestDriver) IsSupportLiveMigrate() bool
func (*SESXiGuestDriver) IsSupportMigrate ¶
func (self *SESXiGuestDriver) IsSupportMigrate() bool
func (*SESXiGuestDriver) OnGuestDeployTaskDataReceived ¶
func (self *SESXiGuestDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, data jsonutils.JSONObject) error
func (*SESXiGuestDriver) RequestDeployGuestOnHost ¶
func (*SESXiGuestDriver) RequestGuestHotAddIso ¶
func (*SESXiGuestDriver) RequestLiveMigrate ¶
func (*SESXiGuestDriver) RequestMigrate ¶
func (*SESXiGuestDriver) RequestRemoteUpdate ¶
func (self *SESXiGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, replaceTags bool) error
func (*SESXiGuestDriver) RequestRenewInstance ¶
func (self *SESXiGuestDriver) RequestRenewInstance(ctx context.Context, guest *models.SGuest, bc billing.SBillingCycle) (time.Time, error)
func (*SESXiGuestDriver) RequestResumeOnHost ¶
func (*SESXiGuestDriver) RequestSaveImage ¶
func (self *SESXiGuestDriver) RequestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, task taskman.ITask) error
func (*SESXiGuestDriver) RequestStartOnHost ¶
func (*SESXiGuestDriver) RequestStopOnHost ¶
func (*SESXiGuestDriver) RequestSuspendOnHost ¶
func (*SESXiGuestDriver) RequestSyncSecgroupsOnHost ¶
func (*SESXiGuestDriver) RequestSyncstatusOnHost ¶
func (*SESXiGuestDriver) StartDeleteGuestTask ¶
func (*SESXiGuestDriver) ValidateCreateData ¶
func (self *SESXiGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, data *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SESXiGuestDriver) ValidateCreateEip ¶
func (self *SESXiGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, input api.ServerCreateEipInput) error
func (*SESXiGuestDriver) ValidateRebuildRoot ¶
func (self *SESXiGuestDriver) ValidateRebuildRoot(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input *api.ServerRebuildRootInput) (*api.ServerRebuildRootInput, error)
func (*SESXiGuestDriver) ValidateResizeDisk ¶
type SEcloudGuestDriver ¶
type SEcloudGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SEcloudGuestDriver) GetAttachDiskStatus ¶
func (self *SEcloudGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SEcloudGuestDriver) GetChangeConfigStatus ¶
func (self *SEcloudGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SEcloudGuestDriver) GetComputeQuotaKeys ¶
func (self *SEcloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SEcloudGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SEcloudGuestDriver) GetDefaultSysDiskBackend() string
func (*SEcloudGuestDriver) GetDeployStatus ¶
func (self *SEcloudGuestDriver) GetDeployStatus() ([]string, error)
func (*SEcloudGuestDriver) GetDetachDiskStatus ¶
func (self *SEcloudGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SEcloudGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SEcloudGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SEcloudGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SEcloudGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SEcloudGuestDriver) GetHypervisor ¶
func (self *SEcloudGuestDriver) GetHypervisor() string
func (*SEcloudGuestDriver) GetInstanceCapability ¶
func (self *SEcloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SEcloudGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SEcloudGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SEcloudGuestDriver) GetProvider ¶
func (self *SEcloudGuestDriver) GetProvider() string
func (*SEcloudGuestDriver) GetRebuildRootStatus ¶
func (self *SEcloudGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SEcloudGuestDriver) ValidateResizeDisk ¶
type SEsxiImageInfo ¶
type SGoogleGuestDriver ¶
type SGoogleGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SGoogleGuestDriver) AllowReconfigGuest ¶
func (self *SGoogleGuestDriver) AllowReconfigGuest() bool
func (*SGoogleGuestDriver) ChooseHostStorage ¶
func (*SGoogleGuestDriver) GetAttachDiskStatus ¶
func (self *SGoogleGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SGoogleGuestDriver) GetChangeConfigStatus ¶
func (self *SGoogleGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SGoogleGuestDriver) GetComputeQuotaKeys ¶
func (self *SGoogleGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SGoogleGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SGoogleGuestDriver) GetDefaultSysDiskBackend() string
func (*SGoogleGuestDriver) GetDeployStatus ¶
func (self *SGoogleGuestDriver) GetDeployStatus() ([]string, error)
func (*SGoogleGuestDriver) GetDetachDiskStatus ¶
func (self *SGoogleGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SGoogleGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SGoogleGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SGoogleGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SGoogleGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SGoogleGuestDriver) GetHypervisor ¶
func (self *SGoogleGuestDriver) GetHypervisor() string
func (*SGoogleGuestDriver) GetInstanceCapability ¶
func (self *SGoogleGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SGoogleGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SGoogleGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SGoogleGuestDriver) GetProvider ¶
func (self *SGoogleGuestDriver) GetProvider() string
func (*SGoogleGuestDriver) GetRebuildRootStatus ¶
func (self *SGoogleGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SGoogleGuestDriver) GetStorageTypes ¶
func (self *SGoogleGuestDriver) GetStorageTypes() []string
func (*SGoogleGuestDriver) GetUserDataType ¶
func (self *SGoogleGuestDriver) GetUserDataType() string
谷歌云的用户自定义脚本不支持base64加密
func (*SGoogleGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SGoogleGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SGoogleGuestDriver) IsSupportedBillingCycle ¶
func (self *SGoogleGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SGoogleGuestDriver) RemoteActionAfterGuestCreated ¶
func (self *SGoogleGuestDriver) RemoteActionAfterGuestCreated(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, iVM cloudprovider.ICloudVM, desc *cloudprovider.SManagedVMCreateConfig)
func (*SGoogleGuestDriver) RequestStartOnHost ¶
func (*SGoogleGuestDriver) ValidateCreateData ¶
func (self *SGoogleGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SGoogleGuestDriver) ValidateResizeDisk ¶
type SHCSGuestDriver ¶
type SHCSGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SHCSGuestDriver) ChooseHostStorage ¶
func (*SHCSGuestDriver) DoScheduleSKUFilter ¶
func (self *SHCSGuestDriver) DoScheduleSKUFilter() bool
func (*SHCSGuestDriver) DoScheduleStorageFilter ¶
func (self *SHCSGuestDriver) DoScheduleStorageFilter() bool
func (*SHCSGuestDriver) GetAttachDiskStatus ¶
func (self *SHCSGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SHCSGuestDriver) GetChangeConfigStatus ¶
func (self *SHCSGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SHCSGuestDriver) GetComputeQuotaKeys ¶
func (self *SHCSGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SHCSGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SHCSGuestDriver) GetDefaultSysDiskBackend() string
func (*SHCSGuestDriver) GetDeployStatus ¶
func (self *SHCSGuestDriver) GetDeployStatus() ([]string, error)
func (*SHCSGuestDriver) GetDetachDiskStatus ¶
func (self *SHCSGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SHCSGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SHCSGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SHCSGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SHCSGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SHCSGuestDriver) GetHypervisor ¶
func (self *SHCSGuestDriver) GetHypervisor() string
func (*SHCSGuestDriver) GetInstanceCapability ¶
func (self *SHCSGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SHCSGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SHCSGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SHCSGuestDriver) GetProvider ¶
func (self *SHCSGuestDriver) GetProvider() string
func (*SHCSGuestDriver) GetRebuildRootStatus ¶
func (self *SHCSGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SHCSGuestDriver) GetStorageTypes ¶
func (self *SHCSGuestDriver) GetStorageTypes() []string
func (*SHCSGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SHCSGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SHCSGuestDriver) IsSupportSetAutoRenew ¶
func (self *SHCSGuestDriver) IsSupportSetAutoRenew() bool
func (*SHCSGuestDriver) IsSupportedBillingCycle ¶
func (self *SHCSGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SHCSGuestDriver) RemoteDeployGuestSyncHost ¶
func (self *SHCSGuestDriver) RemoteDeployGuestSyncHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, iVM cloudprovider.ICloudVM) (cloudprovider.ICloudHost, error)
func (*SHCSGuestDriver) ValidateResizeDisk ¶
type SHCSOGuestDriver ¶
type SHCSOGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SHCSOGuestDriver) ChooseHostStorage ¶
func (*SHCSOGuestDriver) DoScheduleSKUFilter ¶
func (self *SHCSOGuestDriver) DoScheduleSKUFilter() bool
func (*SHCSOGuestDriver) GetAttachDiskStatus ¶
func (self *SHCSOGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SHCSOGuestDriver) GetChangeConfigStatus ¶
func (self *SHCSOGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SHCSOGuestDriver) GetComputeQuotaKeys ¶
func (self *SHCSOGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SHCSOGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SHCSOGuestDriver) GetDefaultSysDiskBackend() string
func (*SHCSOGuestDriver) GetDeployStatus ¶
func (self *SHCSOGuestDriver) GetDeployStatus() ([]string, error)
func (*SHCSOGuestDriver) GetDetachDiskStatus ¶
func (self *SHCSOGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SHCSOGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SHCSOGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SHCSOGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SHCSOGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SHCSOGuestDriver) GetHypervisor ¶
func (self *SHCSOGuestDriver) GetHypervisor() string
func (*SHCSOGuestDriver) GetInstanceCapability ¶
func (self *SHCSOGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SHCSOGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SHCSOGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SHCSOGuestDriver) GetProvider ¶
func (self *SHCSOGuestDriver) GetProvider() string
func (*SHCSOGuestDriver) GetRebuildRootStatus ¶
func (self *SHCSOGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SHCSOGuestDriver) GetStorageTypes ¶
func (self *SHCSOGuestDriver) GetStorageTypes() []string
func (*SHCSOGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SHCSOGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SHCSOGuestDriver) IsSupportSetAutoRenew ¶
func (self *SHCSOGuestDriver) IsSupportSetAutoRenew() bool
func (*SHCSOGuestDriver) IsSupportedBillingCycle ¶
func (self *SHCSOGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SHCSOGuestDriver) RemoteDeployGuestSyncHost ¶
func (self *SHCSOGuestDriver) RemoteDeployGuestSyncHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, iVM cloudprovider.ICloudVM) (cloudprovider.ICloudHost, error)
func (*SHCSOGuestDriver) ValidateResizeDisk ¶
type SHuaweiGuestDriver ¶
type SHuaweiGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SHuaweiGuestDriver) ChooseHostStorage ¶
func (*SHuaweiGuestDriver) GetAttachDiskStatus ¶
func (self *SHuaweiGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SHuaweiGuestDriver) GetChangeConfigStatus ¶
func (self *SHuaweiGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SHuaweiGuestDriver) GetComputeQuotaKeys ¶
func (self *SHuaweiGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SHuaweiGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SHuaweiGuestDriver) GetDefaultSysDiskBackend() string
func (*SHuaweiGuestDriver) GetDeployStatus ¶
func (self *SHuaweiGuestDriver) GetDeployStatus() ([]string, error)
func (*SHuaweiGuestDriver) GetDetachDiskStatus ¶
func (self *SHuaweiGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SHuaweiGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SHuaweiGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SHuaweiGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SHuaweiGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SHuaweiGuestDriver) GetHypervisor ¶
func (self *SHuaweiGuestDriver) GetHypervisor() string
func (*SHuaweiGuestDriver) GetInstanceCapability ¶
func (self *SHuaweiGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SHuaweiGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SHuaweiGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SHuaweiGuestDriver) GetProvider ¶
func (self *SHuaweiGuestDriver) GetProvider() string
func (*SHuaweiGuestDriver) GetRebuildRootStatus ¶
func (self *SHuaweiGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SHuaweiGuestDriver) GetStorageTypes ¶
func (self *SHuaweiGuestDriver) GetStorageTypes() []string
func (*SHuaweiGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SHuaweiGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SHuaweiGuestDriver) IsSupportSetAutoRenew ¶
func (self *SHuaweiGuestDriver) IsSupportSetAutoRenew() bool
func (*SHuaweiGuestDriver) IsSupportedBillingCycle ¶
func (self *SHuaweiGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SHuaweiGuestDriver) ValidateResizeDisk ¶
type SInCloudSphereGuestDriver ¶
type SInCloudSphereGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SInCloudSphereGuestDriver) DoScheduleSKUFilter ¶
func (self *SInCloudSphereGuestDriver) DoScheduleSKUFilter() bool
func (*SInCloudSphereGuestDriver) GetAttachDiskStatus ¶
func (self *SInCloudSphereGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SInCloudSphereGuestDriver) GetChangeConfigStatus ¶
func (self *SInCloudSphereGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SInCloudSphereGuestDriver) GetComputeQuotaKeys ¶
func (self *SInCloudSphereGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SInCloudSphereGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SInCloudSphereGuestDriver) GetDefaultSysDiskBackend() string
func (*SInCloudSphereGuestDriver) GetDeployStatus ¶
func (self *SInCloudSphereGuestDriver) GetDeployStatus() ([]string, error)
func (*SInCloudSphereGuestDriver) GetDetachDiskStatus ¶
func (self *SInCloudSphereGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SInCloudSphereGuestDriver) GetHypervisor ¶
func (self *SInCloudSphereGuestDriver) GetHypervisor() string
func (*SInCloudSphereGuestDriver) GetInstanceCapability ¶
func (self *SInCloudSphereGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SInCloudSphereGuestDriver) GetMaxSecurityGroupCount ¶
func (self *SInCloudSphereGuestDriver) GetMaxSecurityGroupCount() int
func (*SInCloudSphereGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SInCloudSphereGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SInCloudSphereGuestDriver) GetProvider ¶
func (self *SInCloudSphereGuestDriver) GetProvider() string
func (*SInCloudSphereGuestDriver) GetRebuildRootStatus ¶
func (self *SInCloudSphereGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SInCloudSphereGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SInCloudSphereGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SInCloudSphereGuestDriver) IsNeedRestartForResetLoginInfo ¶
func (self *SInCloudSphereGuestDriver) IsNeedRestartForResetLoginInfo() bool
func (*SInCloudSphereGuestDriver) IsSupportCdrom ¶
func (self *SInCloudSphereGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
func (*SInCloudSphereGuestDriver) IsSupportEip ¶
func (self *SInCloudSphereGuestDriver) IsSupportEip() bool
func (*SInCloudSphereGuestDriver) RequestRemoteUpdate ¶
func (self *SInCloudSphereGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, replaceTags bool) error
func (*SInCloudSphereGuestDriver) RequestSyncSecgroupsOnHost ¶
func (*SInCloudSphereGuestDriver) ValidateCreateData ¶
func (self *SInCloudSphereGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SInCloudSphereGuestDriver) ValidateCreateEip ¶
func (self *SInCloudSphereGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, input api.ServerCreateEipInput) error
func (*SInCloudSphereGuestDriver) ValidateResizeDisk ¶
type SJDcloudGuestDriver ¶
type SJDcloudGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SJDcloudGuestDriver) GetComputeQuotaKeys ¶
func (self *SJDcloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SJDcloudGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SJDcloudGuestDriver) GetDefaultSysDiskBackend() string
func (*SJDcloudGuestDriver) GetHypervisor ¶
func (self *SJDcloudGuestDriver) GetHypervisor() string
func (*SJDcloudGuestDriver) GetInstanceCapability ¶
func (self *SJDcloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
云硬盘大小,单位为 GiB;ssd.io1 类型取值范围[20,16000]GB,步长为10G; ssd.gp1 类型取值范围[20,16000]GB,步长为10G; hdd.std1 类型取值范围[20,16000]GB,步长为10G
func (*SJDcloudGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SJDcloudGuestDriver) GetMinimalSysDiskSizeGb() int
系统盘: local:不能指定大小,默认为40GB cloud:取值范围: [40,500]GB,并且不能小于镜像的最小系统盘大小,如果没有指定,默认以镜像中的系统盘大小为准
func (*SJDcloudGuestDriver) GetProvider ¶
func (self *SJDcloudGuestDriver) GetProvider() string
func (*SJDcloudGuestDriver) IsSupportedBillingCycle ¶
func (self *SJDcloudGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
type SKVMGuestDriver ¶
type SKVMGuestDriver struct {
SVirtualizedGuestDriver
}
func (*SKVMGuestDriver) CheckLiveMigrate ¶
func (self *SKVMGuestDriver) CheckLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.GuestLiveMigrateInput) error
func (*SKVMGuestDriver) CheckMigrate ¶
func (self *SKVMGuestDriver) CheckMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.GuestMigrateInput) error
func (*SKVMGuestDriver) DoGuestCreateDisksTask ¶
func (*SKVMGuestDriver) GetAttachDiskStatus ¶
func (self *SKVMGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SKVMGuestDriver) GetChangeConfigStatus ¶
func (self *SKVMGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SKVMGuestDriver) GetComputeQuotaKeys ¶
func (self *SKVMGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SKVMGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SKVMGuestDriver) GetDefaultSysDiskBackend() string
func (*SKVMGuestDriver) GetDeployStatus ¶
func (self *SKVMGuestDriver) GetDeployStatus() ([]string, error)
func (*SKVMGuestDriver) GetDetachDiskStatus ¶
func (self *SKVMGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SKVMGuestDriver) GetGuestVncInfo ¶
func (self *SKVMGuestDriver) GetGuestVncInfo(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SKVMGuestDriver) GetHypervisor ¶
func (self *SKVMGuestDriver) GetHypervisor() string
func (*SKVMGuestDriver) GetInstanceCapability ¶
func (self *SKVMGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SKVMGuestDriver) GetJsonDescAtHost ¶
func (self *SKVMGuestDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, params *jsonutils.JSONDict) (jsonutils.JSONObject, error)
func (*SKVMGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SKVMGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SKVMGuestDriver) GetProvider ¶
func (self *SKVMGuestDriver) GetProvider() string
func (*SKVMGuestDriver) GetRebuildRootStatus ¶
func (self *SKVMGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SKVMGuestDriver) IsSupportCdrom ¶
func (self *SKVMGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
func (*SKVMGuestDriver) IsSupportEip ¶
func (self *SKVMGuestDriver) IsSupportEip() bool
func (*SKVMGuestDriver) IsSupportFloppy ¶
func (self *SKVMGuestDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
func (*SKVMGuestDriver) IsSupportLiveMigrate ¶
func (self *SKVMGuestDriver) IsSupportLiveMigrate() bool
func (*SKVMGuestDriver) IsSupportMigrate ¶
func (self *SKVMGuestDriver) IsSupportMigrate() bool
func (*SKVMGuestDriver) NeedRequestGuestHotAddIso ¶
func (*SKVMGuestDriver) NeedRequestGuestHotAddVfd ¶
func (*SKVMGuestDriver) NeedStopForChangeSpec ¶
func (*SKVMGuestDriver) OnDeleteGuestFinalCleanup ¶
func (self *SKVMGuestDriver) OnDeleteGuestFinalCleanup(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential) error
func (*SKVMGuestDriver) OnGuestChangeCpuMemFailed ¶
func (self *SKVMGuestDriver) OnGuestChangeCpuMemFailed(ctx context.Context, guest *models.SGuest, data *jsonutils.JSONDict, task taskman.ITask) error
kvm guest must add cpu first if body has add_cpu_failed indicate dosen't exec add mem 1. cpu added part of request --> add_cpu_failed: true && added_cpu: count 2. cpu added all of request add mem failed --> add_mem_failed: true
func (*SKVMGuestDriver) OnGuestDeployTaskDataReceived ¶
func (self *SKVMGuestDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, data jsonutils.JSONObject) error
func (*SKVMGuestDriver) QgaRequestGuestPing ¶
func (*SKVMGuestDriver) QgaRequestSetUserPassword ¶
func (*SKVMGuestDriver) RequestAssociateEip ¶
func (self *SKVMGuestDriver) RequestAssociateEip(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, eip *models.SElasticip, task taskman.ITask) error
func (*SKVMGuestDriver) RequestAttachDisk ¶
func (*SKVMGuestDriver) RequestCPUSet ¶
func (self *SKVMGuestDriver) RequestCPUSet(ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, guest *models.SGuest, input *api.ServerCPUSetInput) (*api.ServerCPUSetResp, error)
func (*SKVMGuestDriver) RequestCPUSetRemove ¶
func (self *SKVMGuestDriver) RequestCPUSetRemove(ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, guest *models.SGuest, input *api.ServerCPUSetRemoveInput) error
func (*SKVMGuestDriver) RequestChangeDiskStorage ¶
func (self *SKVMGuestDriver) RequestChangeDiskStorage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input *api.ServerChangeDiskStorageInternalInput, task taskman.ITask) error
func (*SKVMGuestDriver) RequestChangeVmConfig ¶
func (*SKVMGuestDriver) RequestCloseForward ¶
func (self *SKVMGuestDriver) RequestCloseForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, req *guestdriver_types.CloseForwardRequest) (*guestdriver_types.CloseForwardResponse, error)
func (*SKVMGuestDriver) RequestDeleteSnapshot ¶
func (*SKVMGuestDriver) RequestDeployGuestOnHost ¶
func (*SKVMGuestDriver) RequestDetachDisk ¶
func (*SKVMGuestDriver) RequestDetachDisksFromGuestForDelete ¶
func (*SKVMGuestDriver) RequestDiskSnapshot ¶
func (*SKVMGuestDriver) RequestGuestCreateAllDisks ¶
func (*SKVMGuestDriver) RequestGuestHotAddIso ¶
func (*SKVMGuestDriver) RequestGuestHotAddVfd ¶
func (*SKVMGuestDriver) RequestGuestHotRemoveIso ¶
func (*SKVMGuestDriver) RequestGuestHotRemoveVfd ¶
func (*SKVMGuestDriver) RequestListForward ¶
func (self *SKVMGuestDriver) RequestListForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, req *guestdriver_types.ListForwardRequest) (*guestdriver_types.ListForwardResponse, error)
func (*SKVMGuestDriver) RequestOpenForward ¶
func (self *SKVMGuestDriver) RequestOpenForward(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, req *guestdriver_types.OpenForwardRequest) (*guestdriver_types.OpenForwardResponse, error)
func (*SKVMGuestDriver) RequestQgaCommand ¶
func (self *SKVMGuestDriver) RequestQgaCommand(ctx context.Context, userCred mcclient.TokenCredential, body jsonutils.JSONObject, host *models.SHost, guest *models.SGuest) (jsonutils.JSONObject, error)
func (*SKVMGuestDriver) RequestRebuildRootDisk ¶
func (*SKVMGuestDriver) RequestReloadDiskSnapshot ¶
func (*SKVMGuestDriver) RequestResumeOnHost ¶
func (*SKVMGuestDriver) RequestSaveImage ¶
func (self *SKVMGuestDriver) RequestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, task taskman.ITask) error
func (*SKVMGuestDriver) RequestSoftReset ¶
func (*SKVMGuestDriver) RequestStartOnHost ¶
func (*SKVMGuestDriver) RequestStopOnHost ¶
func (*SKVMGuestDriver) RequestSuspendOnHost ¶
func (*SKVMGuestDriver) RequestSwitchToTargetStorageDisk ¶
func (self *SKVMGuestDriver) RequestSwitchToTargetStorageDisk(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input *api.ServerChangeDiskStorageInternalInput, task taskman.ITask) error
func (*SKVMGuestDriver) RequestSyncConfigOnHost ¶
func (*SKVMGuestDriver) RequestSyncIsolatedDevice ¶
func (*SKVMGuestDriver) RequestSyncToBackup ¶
func (*SKVMGuestDriver) RequestSyncstatusOnHost ¶
func (*SKVMGuestDriver) RequestUndeployGuestOnHost ¶
func (*SKVMGuestDriver) ValidateChangeDiskStorage ¶
func (self *SKVMGuestDriver) ValidateChangeDiskStorage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input *api.ServerChangeDiskStorageInput) error
func (*SKVMGuestDriver) ValidateCreateData ¶
func (self *SKVMGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SKVMGuestDriver) ValidateCreateEip ¶
func (self *SKVMGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, input api.ServerCreateEipInput) error
func (*SKVMGuestDriver) ValidateDetachNetwork ¶
func (self *SKVMGuestDriver) ValidateDetachNetwork(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest) error
func (*SKVMGuestDriver) ValidateResizeDisk ¶
func (*SKVMGuestDriver) ValidateUpdateData ¶
func (self *SKVMGuestDriver) ValidateUpdateData(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.ServerUpdateInput) (api.ServerUpdateInput, error)
type SManagedVirtualizedGuestDriver ¶
type SManagedVirtualizedGuestDriver struct {
SVirtualizedGuestDriver
}
func (*SManagedVirtualizedGuestDriver) DoGuestCreateDisksTask ¶
func (SManagedVirtualizedGuestDriver) DoScheduleCPUFilter ¶
func (d SManagedVirtualizedGuestDriver) DoScheduleCPUFilter() bool
func (SManagedVirtualizedGuestDriver) DoScheduleCloudproviderTagFilter ¶
func (d SManagedVirtualizedGuestDriver) DoScheduleCloudproviderTagFilter() bool
func (SManagedVirtualizedGuestDriver) DoScheduleMemoryFilter ¶
func (d SManagedVirtualizedGuestDriver) DoScheduleMemoryFilter() bool
func (SManagedVirtualizedGuestDriver) DoScheduleSKUFilter ¶
func (d SManagedVirtualizedGuestDriver) DoScheduleSKUFilter() bool
func (SManagedVirtualizedGuestDriver) DoScheduleStorageFilter ¶
func (d SManagedVirtualizedGuestDriver) DoScheduleStorageFilter() bool
func (*SManagedVirtualizedGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SManagedVirtualizedGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SManagedVirtualizedGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SManagedVirtualizedGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SManagedVirtualizedGuestDriver) GetGuestVncInfo ¶
func (self *SManagedVirtualizedGuestDriver) GetGuestVncInfo(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SManagedVirtualizedGuestDriver) GetJsonDescAtHost ¶
func (self *SManagedVirtualizedGuestDriver) GetJsonDescAtHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, params *jsonutils.JSONDict) (jsonutils.JSONObject, error)
func (*SManagedVirtualizedGuestDriver) IsSupportCdrom ¶
func (self *SManagedVirtualizedGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
func (*SManagedVirtualizedGuestDriver) IsSupportEip ¶
func (self *SManagedVirtualizedGuestDriver) IsSupportEip() bool
func (*SManagedVirtualizedGuestDriver) IsSupportFloppy ¶
func (self *SManagedVirtualizedGuestDriver) IsSupportFloppy(guest *models.SGuest) (bool, error)
func (*SManagedVirtualizedGuestDriver) OnGuestDeployTaskDataReceived ¶
func (self *SManagedVirtualizedGuestDriver) OnGuestDeployTaskDataReceived(ctx context.Context, guest *models.SGuest, task taskman.ITask, data jsonutils.JSONObject) error
func (*SManagedVirtualizedGuestDriver) RemoteDeployGuestForCreate ¶
func (self *SManagedVirtualizedGuestDriver) RemoteDeployGuestForCreate(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, desc cloudprovider.SManagedVMCreateConfig) (jsonutils.JSONObject, error)
func (*SManagedVirtualizedGuestDriver) RemoteDeployGuestForDeploy ¶
func (self *SManagedVirtualizedGuestDriver) RemoteDeployGuestForDeploy(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, task taskman.ITask, desc cloudprovider.SManagedVMCreateConfig) (jsonutils.JSONObject, error)
func (*SManagedVirtualizedGuestDriver) RemoteDeployGuestForRebuildRoot ¶
func (self *SManagedVirtualizedGuestDriver) RemoteDeployGuestForRebuildRoot(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, task taskman.ITask, desc cloudprovider.SManagedVMCreateConfig) (jsonutils.JSONObject, error)
func (*SManagedVirtualizedGuestDriver) RemoteDeployGuestSyncHost ¶
func (self *SManagedVirtualizedGuestDriver) RemoteDeployGuestSyncHost(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, host *models.SHost, iVM cloudprovider.ICloudVM) (cloudprovider.ICloudHost, error)
func (*SManagedVirtualizedGuestDriver) RequestAttachDisk ¶
func (*SManagedVirtualizedGuestDriver) RequestChangeVmConfig ¶
func (*SManagedVirtualizedGuestDriver) RequestConvertPublicipToEip ¶
func (self *SManagedVirtualizedGuestDriver) RequestConvertPublicipToEip(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, task taskman.ITask) error
func (*SManagedVirtualizedGuestDriver) RequestDeployGuestOnHost ¶
func (*SManagedVirtualizedGuestDriver) RequestDetachDisk ¶
func (*SManagedVirtualizedGuestDriver) RequestGuestCreateAllDisks ¶
func (*SManagedVirtualizedGuestDriver) RequestRebuildRootDisk ¶
func (*SManagedVirtualizedGuestDriver) RequestRemoteUpdate ¶
func (self *SManagedVirtualizedGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, replaceTags bool) error
func (*SManagedVirtualizedGuestDriver) RequestRenewInstance ¶
func (self *SManagedVirtualizedGuestDriver) RequestRenewInstance(ctx context.Context, guest *models.SGuest, bc billing.SBillingCycle) (time.Time, error)
func (*SManagedVirtualizedGuestDriver) RequestSaveImage ¶
func (self *SManagedVirtualizedGuestDriver) RequestSaveImage(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, task taskman.ITask) error
func (*SManagedVirtualizedGuestDriver) RequestSetAutoRenewInstance ¶
func (self *SManagedVirtualizedGuestDriver) RequestSetAutoRenewInstance(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, input api.GuestAutoRenewInput, task taskman.ITask) error
func (*SManagedVirtualizedGuestDriver) RequestStartOnHost ¶
func (*SManagedVirtualizedGuestDriver) RequestStopOnHost ¶
func (*SManagedVirtualizedGuestDriver) RequestSyncConfigOnHost ¶
func (*SManagedVirtualizedGuestDriver) RequestSyncSecgroupsOnHost ¶
func (*SManagedVirtualizedGuestDriver) RequestSyncstatusOnHost ¶
func (*SManagedVirtualizedGuestDriver) RequestUndeployGuestOnHost ¶
func (*SManagedVirtualizedGuestDriver) ValidateCreateData ¶
func (self *SManagedVirtualizedGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SManagedVirtualizedGuestDriver) ValidateCreateEip ¶
func (self *SManagedVirtualizedGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, input api.ServerCreateEipInput) error
type SNutanixGuestDriver ¶
type SNutanixGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SNutanixGuestDriver) AllowReconfigGuest ¶
func (self *SNutanixGuestDriver) AllowReconfigGuest() bool
func (*SNutanixGuestDriver) CanKeepDetachDisk ¶
func (self *SNutanixGuestDriver) CanKeepDetachDisk() bool
func (*SNutanixGuestDriver) ChooseHostStorage ¶
func (*SNutanixGuestDriver) DoGuestCreateDisksTask ¶
func (*SNutanixGuestDriver) DoScheduleCPUFilter ¶
func (self *SNutanixGuestDriver) DoScheduleCPUFilter() bool
func (*SNutanixGuestDriver) DoScheduleMemoryFilter ¶
func (self *SNutanixGuestDriver) DoScheduleMemoryFilter() bool
func (*SNutanixGuestDriver) DoScheduleSKUFilter ¶
func (self *SNutanixGuestDriver) DoScheduleSKUFilter() bool
func (*SNutanixGuestDriver) DoScheduleStorageFilter ¶
func (self *SNutanixGuestDriver) DoScheduleStorageFilter() bool
func (*SNutanixGuestDriver) GetAttachDiskStatus ¶
func (self *SNutanixGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SNutanixGuestDriver) GetChangeConfigStatus ¶
func (self *SNutanixGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SNutanixGuestDriver) GetComputeQuotaKeys ¶
func (self *SNutanixGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SNutanixGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SNutanixGuestDriver) GetDefaultSysDiskBackend() string
func (*SNutanixGuestDriver) GetDeployStatus ¶
func (self *SNutanixGuestDriver) GetDeployStatus() ([]string, error)
func (*SNutanixGuestDriver) GetDetachDiskStatus ¶
func (self *SNutanixGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SNutanixGuestDriver) GetHypervisor ¶
func (self *SNutanixGuestDriver) GetHypervisor() string
func (*SNutanixGuestDriver) GetInstanceCapability ¶
func (self *SNutanixGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SNutanixGuestDriver) GetMaxSecurityGroupCount ¶
func (self *SNutanixGuestDriver) GetMaxSecurityGroupCount() int
func (*SNutanixGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SNutanixGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SNutanixGuestDriver) GetProvider ¶
func (self *SNutanixGuestDriver) GetProvider() string
func (*SNutanixGuestDriver) GetRebuildRootStatus ¶
func (self *SNutanixGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SNutanixGuestDriver) GetUserDataType ¶
func (self *SNutanixGuestDriver) GetUserDataType() string
func (*SNutanixGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SNutanixGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SNutanixGuestDriver) IsSupportCdrom ¶
func (self *SNutanixGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
func (*SNutanixGuestDriver) IsSupportEip ¶
func (self *SNutanixGuestDriver) IsSupportEip() bool
func (*SNutanixGuestDriver) RequestRemoteUpdate ¶
func (self *SNutanixGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, replaceTags bool) error
func (*SNutanixGuestDriver) RequestRenewInstance ¶
func (self *SNutanixGuestDriver) RequestRenewInstance(ctx context.Context, guest *models.SGuest, bc billing.SBillingCycle) (time.Time, error)
func (*SNutanixGuestDriver) RequestSyncSecgroupsOnHost ¶
func (*SNutanixGuestDriver) ValidateCreateEip ¶
func (self *SNutanixGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, input api.ServerCreateEipInput) error
func (*SNutanixGuestDriver) ValidateResizeDisk ¶
type SOpenStackGuestDriver ¶
type SOpenStackGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SOpenStackGuestDriver) AllowReconfigGuest ¶
func (self *SOpenStackGuestDriver) AllowReconfigGuest() bool
func (*SOpenStackGuestDriver) CheckLiveMigrate ¶
func (self *SOpenStackGuestDriver) CheckLiveMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.GuestLiveMigrateInput) error
func (*SOpenStackGuestDriver) CheckMigrate ¶
func (self *SOpenStackGuestDriver) CheckMigrate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, input api.GuestMigrateInput) error
func (*SOpenStackGuestDriver) ChooseHostStorage ¶
func (*SOpenStackGuestDriver) DoScheduleCPUFilter ¶
func (self *SOpenStackGuestDriver) DoScheduleCPUFilter() bool
func (*SOpenStackGuestDriver) DoScheduleMemoryFilter ¶
func (self *SOpenStackGuestDriver) DoScheduleMemoryFilter() bool
func (*SOpenStackGuestDriver) DoScheduleSKUFilter ¶
func (self *SOpenStackGuestDriver) DoScheduleSKUFilter() bool
func (*SOpenStackGuestDriver) DoScheduleStorageFilter ¶
func (self *SOpenStackGuestDriver) DoScheduleStorageFilter() bool
func (*SOpenStackGuestDriver) GetAttachDiskStatus ¶
func (self *SOpenStackGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SOpenStackGuestDriver) GetChangeConfigStatus ¶
func (self *SOpenStackGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SOpenStackGuestDriver) GetComputeQuotaKeys ¶
func (self *SOpenStackGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SOpenStackGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SOpenStackGuestDriver) GetDefaultSysDiskBackend() string
func (*SOpenStackGuestDriver) GetDeployStatus ¶
func (self *SOpenStackGuestDriver) GetDeployStatus() ([]string, error)
func (*SOpenStackGuestDriver) GetDetachDiskStatus ¶
func (self *SOpenStackGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SOpenStackGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SOpenStackGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SOpenStackGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SOpenStackGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SOpenStackGuestDriver) GetHypervisor ¶
func (self *SOpenStackGuestDriver) GetHypervisor() string
func (*SOpenStackGuestDriver) GetInstanceCapability ¶
func (self *SOpenStackGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SOpenStackGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SOpenStackGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SOpenStackGuestDriver) GetProvider ¶
func (self *SOpenStackGuestDriver) GetProvider() string
func (*SOpenStackGuestDriver) GetRebuildRootStatus ¶
func (self *SOpenStackGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SOpenStackGuestDriver) GetStorageTypes ¶
func (self *SOpenStackGuestDriver) GetStorageTypes() []string
func (*SOpenStackGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SOpenStackGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SOpenStackGuestDriver) IsNeedRestartForResetLoginInfo ¶
func (self *SOpenStackGuestDriver) IsNeedRestartForResetLoginInfo() bool
func (*SOpenStackGuestDriver) IsRebuildRootSupportChangeImage ¶
func (self *SOpenStackGuestDriver) IsRebuildRootSupportChangeImage() bool
func (*SOpenStackGuestDriver) IsSupportEip ¶
func (self *SOpenStackGuestDriver) IsSupportEip() bool
func (*SOpenStackGuestDriver) IsSupportLiveMigrate ¶
func (self *SOpenStackGuestDriver) IsSupportLiveMigrate() bool
func (*SOpenStackGuestDriver) IsSupportMigrate ¶
func (self *SOpenStackGuestDriver) IsSupportMigrate() bool
func (*SOpenStackGuestDriver) IsSupportedBillingCycle ¶
func (self *SOpenStackGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SOpenStackGuestDriver) IsWindowsUserDataTypeNeedEncode ¶
func (self *SOpenStackGuestDriver) IsWindowsUserDataTypeNeedEncode() bool
func (*SOpenStackGuestDriver) RemoteDeployGuestForRebuildRoot ¶
func (self *SOpenStackGuestDriver) RemoteDeployGuestForRebuildRoot(ctx context.Context, guest *models.SGuest, ihost cloudprovider.ICloudHost, task taskman.ITask, desc cloudprovider.SManagedVMCreateConfig) (jsonutils.JSONObject, error)
func (*SOpenStackGuestDriver) RequestLiveMigrate ¶
func (*SOpenStackGuestDriver) RequestMigrate ¶
func (*SOpenStackGuestDriver) ValidateCreateData ¶
func (self *SOpenStackGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SOpenStackGuestDriver) ValidateCreateEip ¶
func (self *SOpenStackGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, input api.ServerCreateEipInput) error
func (*SOpenStackGuestDriver) ValidateResizeDisk ¶
type SProxmoxGuestDriver ¶
type SProxmoxGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SProxmoxGuestDriver) DoScheduleSKUFilter ¶
func (self *SProxmoxGuestDriver) DoScheduleSKUFilter() bool
func (*SProxmoxGuestDriver) GetAttachDiskStatus ¶
func (self *SProxmoxGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SProxmoxGuestDriver) GetChangeConfigStatus ¶
func (self *SProxmoxGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SProxmoxGuestDriver) GetComputeQuotaKeys ¶
func (self *SProxmoxGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SProxmoxGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SProxmoxGuestDriver) GetDefaultSysDiskBackend() string
func (*SProxmoxGuestDriver) GetDeployStatus ¶
func (self *SProxmoxGuestDriver) GetDeployStatus() ([]string, error)
func (*SProxmoxGuestDriver) GetDetachDiskStatus ¶
func (self *SProxmoxGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SProxmoxGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SProxmoxGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SProxmoxGuestDriver) GetHypervisor ¶
func (self *SProxmoxGuestDriver) GetHypervisor() string
func (*SProxmoxGuestDriver) GetInstanceCapability ¶
func (self *SProxmoxGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SProxmoxGuestDriver) GetMaxSecurityGroupCount ¶
func (self *SProxmoxGuestDriver) GetMaxSecurityGroupCount() int
func (*SProxmoxGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SProxmoxGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SProxmoxGuestDriver) GetProvider ¶
func (self *SProxmoxGuestDriver) GetProvider() string
func (*SProxmoxGuestDriver) GetRebuildRootStatus ¶
func (self *SProxmoxGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SProxmoxGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SProxmoxGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SProxmoxGuestDriver) IsSupportCdrom ¶
func (self *SProxmoxGuestDriver) IsSupportCdrom(guest *models.SGuest) (bool, error)
func (*SProxmoxGuestDriver) IsSupportEip ¶
func (self *SProxmoxGuestDriver) IsSupportEip() bool
func (*SProxmoxGuestDriver) RequestRemoteUpdate ¶
func (self *SProxmoxGuestDriver) RequestRemoteUpdate(ctx context.Context, guest *models.SGuest, userCred mcclient.TokenCredential, replaceTags bool) error
func (*SProxmoxGuestDriver) RequestSyncSecgroupsOnHost ¶
func (*SProxmoxGuestDriver) ValidateCreateEip ¶
func (self *SProxmoxGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, input api.ServerCreateEipInput) error
type SQcloudGuestDriver ¶
type SQcloudGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SQcloudGuestDriver) AllowReconfigGuest ¶
func (self *SQcloudGuestDriver) AllowReconfigGuest() bool
func (*SQcloudGuestDriver) ChooseHostStorage ¶
func (*SQcloudGuestDriver) GetAttachDiskStatus ¶
func (self *SQcloudGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SQcloudGuestDriver) GetChangeConfigStatus ¶
func (self *SQcloudGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SQcloudGuestDriver) GetComputeQuotaKeys ¶
func (self *SQcloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SQcloudGuestDriver) GetDefaultAccount ¶
func (self *SQcloudGuestDriver) GetDefaultAccount(desc cloudprovider.SManagedVMCreateConfig) string
func (*SQcloudGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SQcloudGuestDriver) GetDefaultSysDiskBackend() string
func (*SQcloudGuestDriver) GetDeployStatus ¶
func (self *SQcloudGuestDriver) GetDeployStatus() ([]string, error)
func (*SQcloudGuestDriver) GetDetachDiskStatus ¶
func (self *SQcloudGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SQcloudGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SQcloudGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SQcloudGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SQcloudGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SQcloudGuestDriver) GetHypervisor ¶
func (self *SQcloudGuestDriver) GetHypervisor() string
func (*SQcloudGuestDriver) GetInstanceCapability ¶
func (self *SQcloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SQcloudGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SQcloudGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SQcloudGuestDriver) GetProvider ¶
func (self *SQcloudGuestDriver) GetProvider() string
func (*SQcloudGuestDriver) GetRebuildRootStatus ¶
func (self *SQcloudGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SQcloudGuestDriver) GetStorageTypes ¶
func (self *SQcloudGuestDriver) GetStorageTypes() []string
func (*SQcloudGuestDriver) GetUserDataType ¶
func (self *SQcloudGuestDriver) GetUserDataType() string
func (*SQcloudGuestDriver) IsSupportPublicIp ¶
func (self *SQcloudGuestDriver) IsSupportPublicIp() bool
func (*SQcloudGuestDriver) IsSupportPublicipToEip ¶
func (self *SQcloudGuestDriver) IsSupportPublicipToEip() bool
func (*SQcloudGuestDriver) IsSupportSetAutoRenew ¶
func (self *SQcloudGuestDriver) IsSupportSetAutoRenew() bool
func (*SQcloudGuestDriver) IsSupportdDcryptPasswordFromSecretKey ¶
func (self *SQcloudGuestDriver) IsSupportdDcryptPasswordFromSecretKey() bool
func (*SQcloudGuestDriver) IsSupportedBillingCycle ¶
func (self *SQcloudGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SQcloudGuestDriver) ValidateChangeConfig ¶
func (self *SQcloudGuestDriver) ValidateChangeConfig(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, cpuChanged bool, memChanged bool, newDisks []*api.DiskConfig) error
func (*SQcloudGuestDriver) ValidateCreateData ¶
func (self *SQcloudGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SQcloudGuestDriver) ValidateDetachDisk ¶
func (self *SQcloudGuestDriver) ValidateDetachDisk(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, disk *models.SDisk) error
func (*SQcloudGuestDriver) ValidateResizeDisk ¶
type SRemoteFileGuestDriver ¶
type SRemoteFileGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SRemoteFileGuestDriver) GetComputeQuotaKeys ¶
func (self *SRemoteFileGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SRemoteFileGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SRemoteFileGuestDriver) GetDefaultSysDiskBackend() string
func (*SRemoteFileGuestDriver) GetHypervisor ¶
func (self *SRemoteFileGuestDriver) GetHypervisor() string
func (*SRemoteFileGuestDriver) GetInstanceCapability ¶
func (self *SRemoteFileGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SRemoteFileGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SRemoteFileGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SRemoteFileGuestDriver) GetProvider ¶
func (self *SRemoteFileGuestDriver) GetProvider() string
type SUCloudGuestDriver ¶
type SUCloudGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SUCloudGuestDriver) GetAttachDiskStatus ¶
func (self *SUCloudGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SUCloudGuestDriver) GetChangeConfigStatus ¶
func (self *SUCloudGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SUCloudGuestDriver) GetComputeQuotaKeys ¶
func (self *SUCloudGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SUCloudGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SUCloudGuestDriver) GetDefaultSysDiskBackend() string
func (*SUCloudGuestDriver) GetDeployStatus ¶
func (self *SUCloudGuestDriver) GetDeployStatus() ([]string, error)
func (*SUCloudGuestDriver) GetDetachDiskStatus ¶
func (self *SUCloudGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SUCloudGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SUCloudGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SUCloudGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SUCloudGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SUCloudGuestDriver) GetHypervisor ¶
func (self *SUCloudGuestDriver) GetHypervisor() string
func (*SUCloudGuestDriver) GetInstanceCapability ¶
func (self *SUCloudGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SUCloudGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SUCloudGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SUCloudGuestDriver) GetProvider ¶
func (self *SUCloudGuestDriver) GetProvider() string
func (*SUCloudGuestDriver) GetRebuildRootStatus ¶
func (self *SUCloudGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SUCloudGuestDriver) ValidateResizeDisk ¶
type SVirtualizedGuestDriver ¶
type SVirtualizedGuestDriver struct {
SBaseGuestDriver
}
func (*SVirtualizedGuestDriver) Attach2RandomNetwork ¶
func (self *SVirtualizedGuestDriver) Attach2RandomNetwork(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, netConfig *api.NetworkConfig, pendingUsage quotas.IQuota) ([]models.SGuestnetwork, error)
func (*SVirtualizedGuestDriver) CanKeepDetachDisk ¶
func (self *SVirtualizedGuestDriver) CanKeepDetachDisk() bool
func (*SVirtualizedGuestDriver) CheckDiskTemplateOnStorage ¶
func (*SVirtualizedGuestDriver) ChooseHostStorage ¶
func (*SVirtualizedGuestDriver) DoScheduleSKUFilter ¶
func (d *SVirtualizedGuestDriver) DoScheduleSKUFilter() bool
func (*SVirtualizedGuestDriver) GetMaxVCpuCount ¶
func (self *SVirtualizedGuestDriver) GetMaxVCpuCount() int
func (*SVirtualizedGuestDriver) GetMaxVMemSizeGB ¶
func (self *SVirtualizedGuestDriver) GetMaxVMemSizeGB() int
func (*SVirtualizedGuestDriver) GetNamedNetworkConfiguration ¶
func (self *SVirtualizedGuestDriver) GetNamedNetworkConfiguration(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, host *models.SHost, netConfig *api.NetworkConfig) (*models.SNetwork, []models.SNicConfig, api.IPAllocationDirection, bool, error)
func (*SVirtualizedGuestDriver) GetRandomNetworkTypes ¶
func (self *SVirtualizedGuestDriver) GetRandomNetworkTypes() []string
func (*SVirtualizedGuestDriver) GetStorageTypes ¶
func (self *SVirtualizedGuestDriver) GetStorageTypes() []string
func (*SVirtualizedGuestDriver) PerformStart ¶
func (self *SVirtualizedGuestDriver) PerformStart(ctx context.Context, userCred mcclient.TokenCredential, guest *models.SGuest, data *jsonutils.JSONDict) error
func (*SVirtualizedGuestDriver) PrepareDiskRaidConfig ¶
func (self *SVirtualizedGuestDriver) PrepareDiskRaidConfig(userCred mcclient.TokenCredential, host *models.SHost, params []*api.BaremetalDiskConfig, disks []*api.DiskConfig) ([]*api.DiskConfig, error)
func (*SVirtualizedGuestDriver) RequestDeleteDetachedDisk ¶
func (*SVirtualizedGuestDriver) RequestGuestCreateInsertIso ¶
func (*SVirtualizedGuestDriver) RequestStopGuestForDelete ¶
func (*SVirtualizedGuestDriver) StartGuestAttachDiskTask ¶
func (*SVirtualizedGuestDriver) StartGuestDetachdiskTask ¶
func (*SVirtualizedGuestDriver) StartGuestResetTask ¶
func (self *SVirtualizedGuestDriver) StartGuestResetTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, isHard bool, parentTaskId string) error
func (*SVirtualizedGuestDriver) StartGuestSaveGuestImage ¶
func (*SVirtualizedGuestDriver) StartGuestSaveImage ¶
func (*SVirtualizedGuestDriver) StartGuestStopTask ¶
func (*SVirtualizedGuestDriver) StartGuestSyncstatusTask ¶
func (self *SVirtualizedGuestDriver) StartGuestSyncstatusTask(guest *models.SGuest, ctx context.Context, userCred mcclient.TokenCredential, parentTaskId string) error
func (*SVirtualizedGuestDriver) StartResumeTask ¶
func (*SVirtualizedGuestDriver) StartSuspendTask ¶
func (*SVirtualizedGuestDriver) ValidateCreateData ¶
func (self *SVirtualizedGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SVirtualizedGuestDriver) ValidateCreateDataOnHost ¶
func (self *SVirtualizedGuestDriver) ValidateCreateDataOnHost(ctx context.Context, userCred mcclient.TokenCredential, bmName string, host *models.SHost, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
type SZStackGuestDriver ¶
type SZStackGuestDriver struct {
SManagedVirtualizedGuestDriver
}
func (*SZStackGuestDriver) AllowReconfigGuest ¶
func (self *SZStackGuestDriver) AllowReconfigGuest() bool
func (*SZStackGuestDriver) ChooseHostStorage ¶
func (*SZStackGuestDriver) DoScheduleCPUFilter ¶
func (self *SZStackGuestDriver) DoScheduleCPUFilter() bool
func (*SZStackGuestDriver) DoScheduleMemoryFilter ¶
func (self *SZStackGuestDriver) DoScheduleMemoryFilter() bool
func (*SZStackGuestDriver) DoScheduleSKUFilter ¶
func (self *SZStackGuestDriver) DoScheduleSKUFilter() bool
func (*SZStackGuestDriver) DoScheduleStorageFilter ¶
func (self *SZStackGuestDriver) DoScheduleStorageFilter() bool
func (*SZStackGuestDriver) GetAttachDiskStatus ¶
func (self *SZStackGuestDriver) GetAttachDiskStatus() ([]string, error)
func (*SZStackGuestDriver) GetChangeConfigStatus ¶
func (self *SZStackGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error)
func (*SZStackGuestDriver) GetComputeQuotaKeys ¶
func (self *SZStackGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ownerId mcclient.IIdentityProvider, brand string) models.SComputeResourceKeys
func (*SZStackGuestDriver) GetDefaultSysDiskBackend ¶
func (self *SZStackGuestDriver) GetDefaultSysDiskBackend() string
func (*SZStackGuestDriver) GetDeployStatus ¶
func (self *SZStackGuestDriver) GetDeployStatus() ([]string, error)
func (*SZStackGuestDriver) GetDetachDiskStatus ¶
func (self *SZStackGuestDriver) GetDetachDiskStatus() ([]string, error)
func (*SZStackGuestDriver) GetGuestInitialStateAfterCreate ¶
func (self *SZStackGuestDriver) GetGuestInitialStateAfterCreate() string
func (*SZStackGuestDriver) GetGuestInitialStateAfterRebuild ¶
func (self *SZStackGuestDriver) GetGuestInitialStateAfterRebuild() string
func (*SZStackGuestDriver) GetHypervisor ¶
func (self *SZStackGuestDriver) GetHypervisor() string
func (*SZStackGuestDriver) GetInstanceCapability ¶
func (self *SZStackGuestDriver) GetInstanceCapability() cloudprovider.SInstanceCapability
func (*SZStackGuestDriver) GetMaxSecurityGroupCount ¶
func (self *SZStackGuestDriver) GetMaxSecurityGroupCount() int
func (*SZStackGuestDriver) GetMinimalSysDiskSizeGb ¶
func (self *SZStackGuestDriver) GetMinimalSysDiskSizeGb() int
func (*SZStackGuestDriver) GetProvider ¶
func (self *SZStackGuestDriver) GetProvider() string
func (*SZStackGuestDriver) GetRebuildRootStatus ¶
func (self *SZStackGuestDriver) GetRebuildRootStatus() ([]string, error)
func (*SZStackGuestDriver) GetStorageTypes ¶
func (self *SZStackGuestDriver) GetStorageTypes() []string
func (*SZStackGuestDriver) GetUserDataType ¶
func (self *SZStackGuestDriver) GetUserDataType() string
func (*SZStackGuestDriver) IsNeedInjectPasswordByCloudInit ¶
func (self *SZStackGuestDriver) IsNeedInjectPasswordByCloudInit() bool
func (*SZStackGuestDriver) IsNeedRestartForResetLoginInfo ¶
func (self *SZStackGuestDriver) IsNeedRestartForResetLoginInfo() bool
func (*SZStackGuestDriver) IsSupportedBillingCycle ¶
func (self *SZStackGuestDriver) IsSupportedBillingCycle(bc billing.SBillingCycle) bool
func (*SZStackGuestDriver) IsWindowsUserDataTypeNeedEncode ¶
func (self *SZStackGuestDriver) IsWindowsUserDataTypeNeedEncode() bool
func (*SZStackGuestDriver) ValidateCreateData ¶
func (self *SZStackGuestDriver) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, input *api.ServerCreateInput) (*api.ServerCreateInput, error)
func (*SZStackGuestDriver) ValidateCreateEip ¶
func (self *SZStackGuestDriver) ValidateCreateEip(ctx context.Context, userCred mcclient.TokenCredential, input api.ServerCreateEipInput) error
func (*SZStackGuestDriver) ValidateResizeDisk ¶
Source Files ¶
- aliyun.go
- apsara.go
- aws.go
- azure.go
- baremetals.go
- base.go
- bingocloud.go
- cloudpods.go
- container.go
- ctyun.go
- doc.go
- ecloud.go
- esxi.go
- google.go
- hcs.go
- huawei.go
- huaweistack.go
- incloudsphere.go
- jdcloud.go
- kvm.go
- managedvirtual.go
- nutanix.go
- openstack.go
- proxmox.go
- qcloud.go
- remotefile.go
- ucloud.go
- utils.go
- virtualization.go
- zstack.go
Click to show internal directories.
Click to hide internal directories.