vm

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package vm is an EXP MicroVM compute-driver spike (not implemented).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct{}

Driver is a placeholder for libkrun/QEMU backends.

func New

func New() *Driver

New returns the stub MicroVM driver.

func (*Driver) CopyFrom

func (d *Driver) CopyFrom(context.Context, core.ID, string, string) error

func (*Driver) CopyTo

func (d *Driver) CopyTo(context.Context, core.ID, string, string) error

func (*Driver) Create

func (*Driver) Delete

func (d *Driver) Delete(context.Context, core.ID) error

func (*Driver) EnsureSSHDaemon

func (d *Driver) EnsureSSHDaemon(context.Context, core.ID, string) error

func (*Driver) Exec

func (*Driver) Inspect

func (d *Driver) Inspect(context.Context, string) (driver.Info, error)

func (*Driver) List

func (d *Driver) List(context.Context) ([]driver.Info, error)

func (*Driver) Logs

func (d *Driver) Logs(context.Context, core.ID, bool, io.Writer) error

func (*Driver) SSHPort

func (d *Driver) SSHPort(context.Context, core.ID) (int, error)

func (*Driver) Start

func (d *Driver) Start(context.Context, core.ID) error

func (*Driver) Stop

func (d *Driver) Stop(context.Context, core.ID) error

Jump to

Keyboard shortcuts

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