Versions in this module Expand all Collapse all v0 v0.10.0 Oct 19, 2026 v0.0.0 Oct 16, 2026 Changes in this version + const WindowsISODownloadURL + func CacheDir(home string) string + func DownloadVirtioDrivers(ctx context.Context, home string, noCache bool, obs Observer) (string, error) + func DownloadWindowsISO(ctx context.Context, home, language string, obs Observer) (string, error) + func InstanceDir(home, cellName string) string + func RenderWallpaper(nixHome, cellID string) ([]byte, error) — darwin/amd64, linux/amd64 + func ResolveWindowsISO(envISO, configISO, home string) (string, error) + func SetWallpaperGuestCommand(g guest, pngData []byte) string — darwin/amd64, linux/amd64 + func SetWallpaperScript(pngData []byte) string — darwin/amd64, linux/amd64 + func StopVM(ctx context.Context, home, cellName string) error + func ValidateISO(path string) error + func VirtioISOPath(home string) string + type AllocatedPorts struct + RDPPort string + SSHPort string + VNCPort string + func AllocatePorts(portPrefix string, taken map[int]struct{}) AllocatedPorts + func (p AllocatedPorts) RDPPortUint16() uint16 + func (p AllocatedPorts) SSHPortUint16() uint16 + func (p AllocatedPorts) VNCPortUint16() uint16 + type DiscoveredVM struct + CellName string + ImagePath string + PID int + Ports VMPorts + func DiscoverRunningVMs(home string) []DiscoveredVM + func RunningVMForImage(home, image string) (DiscoveredVM, bool) + type Engine struct + func (Engine) Build(context.Context, engine.BuildOpts) error + func (Engine) Build(ctx context.Context, opts engine.BuildOpts) error + func (Engine) Init(context.Context, engine.InitOpts) error + func (Engine) Init(ctx context.Context, opts engine.InitOpts) error + func (Engine) Run(ctx context.Context, opts engine.RunOpts) error + type NopObserver struct + func (NopObserver) Logf(string, ...any) + func (NopObserver) Progress(float64, string) + type Observer interface + Logf func(format string, args ...any) + Progress func(fraction float64, message string) + type VMPorts struct + RDPPort uint16 + SSHPort uint16 + VNCPort uint16