Versions in this module Expand all Collapse all v0 v0.4.0 Nov 7, 2026 Changes in this version + var ErrZygote = errors.New("proc: zygote error") — linux/amd64 + func New(Options) backend.Backend — darwin/amd64, js/wasm, windows/amd64 + func New(o Options) backend.Backend — linux/amd64 + type Backend struct — linux/amd64 + func NewBackend(o Options) *Backend + func (b *Backend) CheckpointWarm(ctx context.Context, warmID, dir string) error + func (b *Backend) Clone(ctx context.Context, warmID string, spec backend.FiberSpec) (backend.Fiber, error) + func (b *Backend) Close() + func (b *Backend) Compute(dir string, parent backend.Parent) (backend.DeltaInfo, error) + func (b *Backend) EndpointSchemes() []string + func (b *Backend) Exits() <-chan backend.Exit + func (b *Backend) Handoff() bool + func (b *Backend) HasDelta(dir string) bool + func (b *Backend) HoldsWorkspaces() bool + func (b *Backend) ImageBytes(dir string) (uint64, error) + func (b *Backend) Kill(fiberID string) error + func (b *Backend) LoadParent(dir string) (backend.Parent, error) + func (b *Backend) Merge(dir string, parent backend.Parent) error + func (b *Backend) Name() string + func (b *Backend) Park(ctx context.Context, fiberID string, spec backend.ParkSpec) error + func (b *Backend) ReadDeltaInfo(dir string) (backend.DeltaInfo, error) + func (b *Backend) Resume(ctx context.Context, spec backend.ResumeSpec) (backend.Fiber, error) + func (b *Backend) Tier() core.Tier + func (b *Backend) Unwarm(id string) + func (b *Backend) Warm(ctx context.Context, spec backend.WarmSpec) (backend.Warm, error) + type Dumped struct — linux/amd64 + PID int + Workspace bool + Zygote int + type Inherit struct — linux/amd64 + File *os.File + Key string + type Launcher interface — linux/amd64 + Channel func(ctx context.Context, spec backend.WarmSpec, cmd *exec.Cmd, boot *net.UnixConn) (*net.UnixConn, error) + Command func(spec backend.WarmSpec, argv []string, ctl, logf *os.File) (*exec.Cmd, error) + DumpExtra func(spec backend.WarmSpec, dir string, d Dumped) ([]string, error) + Endpoint func(spec backend.WarmSpec, hostPath string) string + Name func() string + PID func(ctx context.Context, spec backend.WarmSpec, cmd *exec.Cmd) (int, error) + Release func(spec backend.WarmSpec) + RestoreExtra func(spec backend.WarmSpec, dir string) ([]string, []Inherit, error) + Restored func(spec backend.WarmSpec, pid int) error + RestoredGone func(spec backend.WarmSpec) + Socketpair func(spec backend.WarmSpec, pid int, typ int) ([2]int, error) + type Options struct + Borrow func(pid, fd int) (*os.File, error) + CRIU string + CRIUWrap []string + Commander criu.Commander + Launcher Launcher + RootBind string + Signal func(pid int, sig syscall.Signal) error v0.4.0-rc.1 Nov 6, 2026