hypervisor

package
v0.130.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMount

func AddMount(vmName, ipAddr, hostPath, guestPath string) error

func Commit

func Commit(vmName, imageName string) error

func Create

func Create(imageName, vmName string, cpus int, mem int) error

func GetBoxInfo

func GetBoxInfo(vmName string) (*base.Box, error)

func GetHypervisorName

func GetHypervisorName(showDetectedMsg bool) (string, error)

func GetSubnet added in v0.113.0

func GetSubnet() (*base.Subnet, error)

func GetVMProperty added in v0.130.0

func GetVMProperty(vmName, property string) (*string, error)

func HealthCheck added in v0.130.0

func HealthCheck(vmName string) error

HealthCheck will block up to 5 minutes until the VM is healthy or will return an error otherwise

func List

func List(all bool) ([]string, error)

func ListMounts

func ListMounts(vmName, ipAddr string) ([]base.MountPath, error)

func Modify

func Modify(vmName string, cpus int, mem int) error

func Remove

func Remove(vmName string) error

func RemoveMounts

func RemoveMounts(vmName, ipAddr string) error

func SetNetworkAdapterAsBridge

func SetNetworkAdapterAsBridge(vmName string) error

func ShowGUI

func ShowGUI(vmName string) error

func ShrinkDisk added in v0.125.0

func ShrinkDisk(vmName string) error

func Start

func Start(vmName string) error

func Stop

func Stop(vmName string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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