service

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageManagementService

type ImageManagementService struct {
	*v2.Msvm_ImageManagementService
}

func GetImageManagementService

func GetImageManagementService(whost *host.WmiHost) (mgmt *ImageManagementService, err error)

GetVirtualEthernetSwitchManagementService gets the VMMS Switch Management Service

func (*ImageManagementService) CreateDisk

func (ims *ImageManagementService) CreateDisk(settings *disk.VirtualHardDiskSettingData) (err error)

CreateDisk

func (*ImageManagementService) CreateDiskEx

func (ims *ImageManagementService) CreateDiskEx(path string,
	logicalSectorSize, physicalSectorSize, blockSize uint32,
	diskSize uint64, dynamic bool) (err error)

CreateDiskEx

func (*ImageManagementService) ResizeDisk

func (ims *ImageManagementService) ResizeDisk(path string, size uint64) (err error)

ResizeDisk

Jump to

Keyboard shortcuts

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