Versions in this module Expand all Collapse all v0 v0.2.0 Nov 13, 2026 Changes in this version type Image + func (i *Image) Socket() string + type Option func(*Image) error + func WithSocket(path string) Option v0.1.0 Oct 7, 2026 Changes in this version + func Uroot(d, GOOS, GOARCH string, opts ...string) (string, error) + type Image struct + Cmd []string + Env []string + GOARCH string + GOOS string + InitRAMFS []byte + Kernel []byte + Opts []string + func New(goos, arch string) (*Image, error) + func (*Image) StartVM(c *exec.Cmd) error + func (i *Image) CPUCommand(arg string, args ...string) (*client.Cmd, error) + func (i *Image) String() string + func (i *Image) Uroot(d string) (string, error) + func (image *Image) CommandContext(ctx context.Context, d string, extra ...string) (*exec.Cmd, error)