qemu

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileType

func CheckFileType(filePath string) (models.DiskType, error)

func CreateVm

func CreateVm(vmInfo models.PostApiV1VmsJSONRequestBody) (models.Vm, error)

CreateVm diskとVmをcharV-libの関数から作成する

func GetAllVmInfo

func GetAllVmInfo() ([]models.Vm, error)

Types

type InstallOpts

type InstallOpts struct {
	Name   string
	Memory int
	VCpu   int
	Image  string
	Disk   string
}

type StartOpts

type StartOpts struct {
	Disk string
}

Jump to

Keyboard shortcuts

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