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) 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 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) RequestDeallocateDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, ...) error
- func (self *SKVMHostDriver) RequestPrepareSaveDiskOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, ...) 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 { }
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) RequestResizeDiskOnHost ¶
func (*SAliyunHostDriver) RequestResizeDiskOnHostOnline ¶
func (*SAliyunHostDriver) RequestSaveUploadImageOnHost ¶
type SKVMHostDriver ¶
type SKVMHostDriver struct { }
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) RequestDeallocateDiskOnHost ¶
func (*SKVMHostDriver) RequestPrepareSaveDiskOnHost ¶
func (*SKVMHostDriver) RequestResizeDiskOnHost ¶
func (*SKVMHostDriver) RequestResizeDiskOnHostOnline ¶
func (*SKVMHostDriver) RequestSaveUploadImageOnHost ¶
Click to show internal directories.
Click to hide internal directories.