Documentation ¶
Index ¶
- Variables
- type HV
- func (hv *HV) CreateCloudDisk(path string, size int, image string) error
- func (hv *HV) CreateCloudInitIso(path string, userData string, metaData string) error
- func (hv *HV) CreateDisk(path string, size int) error
- func (hv *HV) CreateDomain(domID uuid.UUID, req *util.DomainCreateRequest) (err error)
- func (hv *HV) DeleteDiskFile(path string) error
- func (hv *HV) DestroyVM(vm *models.VM) error
- func (hv *HV) GetVMConsole(vm *models.VM) (string, error)
- func (hv *HV) GetVMState(vm *models.VM) (models.VMState, error)
- func (hv *HV) Init() error
- func (hv *HV) InitVMs() error
- func (hv *HV) UndefineVM(vm *models.VM) error
- type VM
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CloudImages = []map[string]string{} Images = []map[string]string{} Disks = []map[string]string{} CloudInitPath = []map[string]string{} )
View Source
var Hypervisor = &HV{}
Functions ¶
This section is empty.
Types ¶
type HV ¶
func (*HV) CreateCloudDisk ¶
func (*HV) CreateCloudInitIso ¶
func (*HV) CreateDomain ¶
func (*HV) DeleteDiskFile ¶
Click to show internal directories.
Click to hide internal directories.