service

package
v0.5.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: MIT Imports: 10 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, diskFileFormat disk.VirtualHardDiskFormat) (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