hostdrivers

package
v2.1.12+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 (self *SAliyunHostDriver) RequestAllocateDiskOnStorage(ctx context.Context, host *models.SHost, storage *models.SStorage, disk *models.SDisk, task taskman.ITask, content *jsonutils.JSONDict) error

func (*SAliyunHostDriver) RequestDeallocateDiskOnHost

func (self *SAliyunHostDriver) RequestDeallocateDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, task taskman.ITask) error

func (*SAliyunHostDriver) RequestPrepareSaveDiskOnHost

func (self *SAliyunHostDriver) RequestPrepareSaveDiskOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, task taskman.ITask) error

func (*SAliyunHostDriver) RequestResizeDiskOnHost

func (self *SAliyunHostDriver) RequestResizeDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, task taskman.ITask) error

func (*SAliyunHostDriver) RequestResizeDiskOnHostOnline

func (self *SAliyunHostDriver) RequestResizeDiskOnHostOnline(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, task taskman.ITask) error

func (*SAliyunHostDriver) RequestSaveUploadImageOnHost

func (self *SAliyunHostDriver) RequestSaveUploadImageOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, task taskman.ITask, data jsonutils.JSONObject) error

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 (self *SKVMHostDriver) RequestAllocateDiskOnStorage(ctx context.Context, host *models.SHost, storage *models.SStorage, disk *models.SDisk, task taskman.ITask, content *jsonutils.JSONDict) error

func (*SKVMHostDriver) RequestDeallocateDiskOnHost

func (self *SKVMHostDriver) RequestDeallocateDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, task taskman.ITask) error

func (*SKVMHostDriver) RequestPrepareSaveDiskOnHost

func (self *SKVMHostDriver) RequestPrepareSaveDiskOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, task taskman.ITask) error

func (*SKVMHostDriver) RequestResizeDiskOnHost

func (self *SKVMHostDriver) RequestResizeDiskOnHost(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, task taskman.ITask) error

func (*SKVMHostDriver) RequestResizeDiskOnHostOnline

func (self *SKVMHostDriver) RequestResizeDiskOnHostOnline(host *models.SHost, storage *models.SStorage, disk *models.SDisk, size int64, task taskman.ITask) error

func (*SKVMHostDriver) RequestSaveUploadImageOnHost

func (self *SKVMHostDriver) RequestSaveUploadImageOnHost(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, task taskman.ITask, data jsonutils.JSONObject) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL