Versions in this module Expand all Collapse all v0 v0.1.0 May 20, 2026 Changes in this version + type Instance interface + AddDisk func(ctx context.Context, blockID, mountPath string, opts ...MountOpt) error + AddFS func(ctx context.Context, tag, mountPath string, opts ...MountOpt) error + AddNIC func(ctx context.Context, endpoint string, mac net.HardwareAddr, mode NetworkMode, ...) error + Client func() *ttrpc.Client + SetCPUAndMemory func(ctx context.Context, cpu uint8, ram uint32) error + Shutdown func(context.Context) error + Start func(ctx context.Context, opts ...StartOpt) error + StartStream func(ctx context.Context, streamID string, opts ...StreamOpt) (net.Conn, error) + type Manager interface + NewInstance func(ctx context.Context, state string) (Instance, error) + type MountConfig struct + Readonly bool + Vmdk bool + type MountOpt func(*MountConfig) + func WithReadOnly() MountOpt + func WithVmdk() MountOpt + type NetworkMode int + const NetworkModeUnixgram + const NetworkModeUnixstream + type NetworkOpt func(*NetworkOpts) + func WithNICFeatures(features uint32) NetworkOpt + func WithNICFlags(flags uint32) NetworkOpt + type NetworkOpts struct + Features uint32 + Flags uint32 + type StartOpt func(*StartOpts) + func WithConsoleWriter(w io.Writer) StartOpt + func WithInitArgs(args ...string) StartOpt + type StartOpts struct + ConsoleWriter io.Writer + InitArgs []string + type StreamOpt func(*StreamOpts) + type StreamOpts struct