Documentation
¶
Overview ¶
Package privatevm provides focused wrappers for private Virtualization.framework VM selectors.
Index ¶
- Variables
- func CanCreateCore(queue *vm.Queue, machine vz.VZVirtualMachine) (bool, error)
- func CrashContextMessage(queue *vm.Queue, machine vz.VZVirtualMachine) string
- func Name(queue *vm.Queue, machine vz.VZVirtualMachine) string
- func ServicePID(queue *vm.Queue, machine vz.VZVirtualMachine) (int, error)
- func SetCrashContextMessage(queue *vm.Queue, machine vz.VZVirtualMachine, msg string)
- func SetName(queue *vm.Queue, machine vz.VZVirtualMachine, name string)
- func ShouldSendHIDReports(queue *vm.Queue, machine vz.VZVirtualMachine) (bool, error)
- func StateDescription(queue *vm.Queue, machine vz.VZVirtualMachine) (string, error)
Constants ¶
This section is empty.
Variables ¶
var ( ErrVMNotRunning = errors.New("vm not running") ErrVMNotStopped = errors.New("vm not stopped") )
Functions ¶
func CanCreateCore ¶
CanCreateCore returns the private _canCreateCore property of a running VM.
func CrashContextMessage ¶
func CrashContextMessage(queue *vm.Queue, machine vz.VZVirtualMachine) string
CrashContextMessage returns the private _crashContextMessage property.
func Name ¶
func Name(queue *vm.Queue, machine vz.VZVirtualMachine) string
Name returns the private _name property of a virtual machine.
func ServicePID ¶
ServicePID returns the private _serviceProcessIdentifier of a running VM.
func SetCrashContextMessage ¶
func SetCrashContextMessage(queue *vm.Queue, machine vz.VZVirtualMachine, msg string)
SetCrashContextMessage sets the private _crashContextMessage property.
func SetName ¶
func SetName(queue *vm.Queue, machine vz.VZVirtualMachine, name string)
SetName sets the private _name property of a virtual machine.
func ShouldSendHIDReports ¶
ShouldSendHIDReports returns the private _shouldSendHIDReports property.
func StateDescription ¶
StateDescription returns the private _stateDescription of a running VM.
Types ¶
This section is empty.