Documentation ¶
Index ¶
- type SAliyunHostDriver
- func (self *SAliyunHostDriver) CheckAndSetCacheImage(ctx context.Context, host *models.SHost, storageCache *models.SStoragecache, ...) error
- func (self *SAliyunHostDriver) GetHostType() string
- func (self *SAliyunHostDriver) RequestAllocateDiskOnStorage(ctx context.Context, host *models.SHost, storage *models.SStorage, ...) error
- func (self *SAliyunHostDriver) RequestDeallocateDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, ...) error
- func (self *SAliyunHostDriver) RequestPrepareSaveDiskOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, ...) error
- func (self *SAliyunHostDriver) RequestResetDisk(ctx context.Context, host *models.SHost, disk *models.SDisk, ...) error
- func (self *SAliyunHostDriver) RequestResizeDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, ...) error
- func (self *SAliyunHostDriver) RequestResizeDiskOnHostOnline(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, ...) error
- func (self *SAliyunHostDriver) RequestSaveUploadImageOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, ...) error
- type SAzureHostDriver
- func (self *SAzureHostDriver) CheckAndSetCacheImage(ctx context.Context, host *models.SHost, storageCache *models.SStoragecache, ...) error
- func (self *SAzureHostDriver) GetHostType() string
- func (self *SAzureHostDriver) RequestAllocateDiskOnStorage(ctx context.Context, host *models.SHost, storage *models.SStorage, ...) error
- func (self *SAzureHostDriver) RequestDeallocateDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, ...) error
- func (self *SAzureHostDriver) RequestDeleteSnapshotWithStorage(ctx context.Context, host *models.SHost, snapshot *models.SSnapshot, ...) error
- func (self *SAzureHostDriver) RequestPrepareSaveDiskOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, ...) error
- func (self *SAzureHostDriver) RequestResizeDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, ...) error
- func (self *SAzureHostDriver) RequestResizeDiskOnHostOnline(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, ...) error
- func (self *SAzureHostDriver) RequestSaveUploadImageOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, ...) error
- func (self *SAzureHostDriver) ValidateUpdateDisk(ctx context.Context, userCred mcclient.TokenCredential, ...) (*jsonutils.JSONDict, error)
- type SBaseHostDriver
- func (self *SBaseHostDriver) RequestCleanUpDiskSnapshots(ctx context.Context, host *models.SHost, disk *models.SDisk, ...) error
- func (self *SBaseHostDriver) RequestDeleteSnapshotsWithStorage(ctx context.Context, host *models.SHost, snapshot *models.SSnapshot, ...) error
- func (self *SBaseHostDriver) RequestResetDisk(ctx context.Context, host *models.SHost, disk *models.SDisk, ...) error
- func (self *SBaseHostDriver) ValidateUpdateDisk(ctx context.Context, userCred mcclient.TokenCredential, ...) (*jsonutils.JSONDict, error)
- type SKVMHostDriver
- func (self *SKVMHostDriver) CheckAndSetCacheImage(ctx context.Context, host *models.SHost, storageCache *models.SStoragecache, ...) error
- func (self *SKVMHostDriver) GetHostType() string
- func (self *SKVMHostDriver) RequestAllocateDiskOnStorage(ctx context.Context, host *models.SHost, storage *models.SStorage, ...) error
- func (self *SKVMHostDriver) RequestCleanUpDiskSnapshots(ctx context.Context, host *models.SHost, disk *models.SDisk, ...) error
- func (self *SKVMHostDriver) RequestDeallocateDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, ...) error
- func (self *SKVMHostDriver) RequestDeleteSnapshotsWithStorage(ctx context.Context, host *models.SHost, snapshot *models.SSnapshot, ...) error
- func (self *SKVMHostDriver) RequestPrepareSaveDiskOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, ...) error
- func (self *SKVMHostDriver) RequestResetDisk(ctx context.Context, host *models.SHost, disk *models.SDisk, ...) error
- func (self *SKVMHostDriver) RequestResizeDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, ...) error
- func (self *SKVMHostDriver) RequestResizeDiskOnHostOnline(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, ...) error
- func (self *SKVMHostDriver) RequestSaveUploadImageOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SAliyunHostDriver ¶
type SAliyunHostDriver struct {
SBaseHostDriver
}
func (*SAliyunHostDriver) CheckAndSetCacheImage ¶
func (self *SAliyunHostDriver) CheckAndSetCacheImage(ctx context.Context, host *models.SHost, storageCache *models.SStoragecache, task taskman.ITask) error
func (*SAliyunHostDriver) GetHostType ¶
func (self *SAliyunHostDriver) GetHostType() string
func (*SAliyunHostDriver) RequestAllocateDiskOnStorage ¶
func (*SAliyunHostDriver) RequestDeallocateDiskOnHost ¶
func (*SAliyunHostDriver) RequestPrepareSaveDiskOnHost ¶
func (*SAliyunHostDriver) RequestResetDisk ¶
func (*SAliyunHostDriver) RequestResizeDiskOnHost ¶
func (*SAliyunHostDriver) RequestResizeDiskOnHostOnline ¶
func (*SAliyunHostDriver) RequestSaveUploadImageOnHost ¶
type SAzureHostDriver ¶
type SAzureHostDriver struct {
SBaseHostDriver
}
func (*SAzureHostDriver) CheckAndSetCacheImage ¶
func (self *SAzureHostDriver) CheckAndSetCacheImage(ctx context.Context, host *models.SHost, storageCache *models.SStoragecache, task taskman.ITask) error
func (*SAzureHostDriver) GetHostType ¶
func (self *SAzureHostDriver) GetHostType() string
func (*SAzureHostDriver) RequestAllocateDiskOnStorage ¶
func (*SAzureHostDriver) RequestDeallocateDiskOnHost ¶
func (*SAzureHostDriver) RequestDeleteSnapshotWithStorage ¶
func (*SAzureHostDriver) RequestPrepareSaveDiskOnHost ¶
func (*SAzureHostDriver) RequestResizeDiskOnHost ¶
func (*SAzureHostDriver) RequestResizeDiskOnHostOnline ¶
func (*SAzureHostDriver) RequestSaveUploadImageOnHost ¶
func (*SAzureHostDriver) ValidateUpdateDisk ¶
func (self *SAzureHostDriver) ValidateUpdateDisk(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)
type SBaseHostDriver ¶
type SBaseHostDriver struct { }
func (*SBaseHostDriver) RequestCleanUpDiskSnapshots ¶
func (*SBaseHostDriver) RequestDeleteSnapshotsWithStorage ¶
func (*SBaseHostDriver) RequestResetDisk ¶
func (*SBaseHostDriver) ValidateUpdateDisk ¶
func (self *SBaseHostDriver) ValidateUpdateDisk(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)
type SKVMHostDriver ¶
type SKVMHostDriver struct {
SBaseHostDriver
}
func (*SKVMHostDriver) CheckAndSetCacheImage ¶
func (self *SKVMHostDriver) CheckAndSetCacheImage(ctx context.Context, host *models.SHost, storageCache *models.SStoragecache, task taskman.ITask) error
func (*SKVMHostDriver) GetHostType ¶
func (self *SKVMHostDriver) GetHostType() string
func (*SKVMHostDriver) RequestAllocateDiskOnStorage ¶
func (*SKVMHostDriver) RequestCleanUpDiskSnapshots ¶
func (*SKVMHostDriver) RequestDeallocateDiskOnHost ¶
func (*SKVMHostDriver) RequestDeleteSnapshotsWithStorage ¶
func (*SKVMHostDriver) RequestPrepareSaveDiskOnHost ¶
func (*SKVMHostDriver) RequestResetDisk ¶
func (*SKVMHostDriver) RequestResizeDiskOnHost ¶
func (*SKVMHostDriver) RequestResizeDiskOnHostOnline ¶
func (*SKVMHostDriver) RequestSaveUploadImageOnHost ¶
Click to show internal directories.
Click to hide internal directories.