Versions in this module Expand all Collapse all v0 v0.4.0 Nov 7, 2026 Changes in this version + const DefaultEngineMemoryMax + const DefaultEngineUID + const ExportDeltaFile + const ExportInfoFile + const ExportParentFile + var DefaultFiberHide = []string + var ErrHandoffBusy = errors.New("host: fiber is not accepting handed-off connections") — linux/amd64 + var ErrNoHandoff = errors.New("host: this home does not hand connections to fibers") — linux/amd64 + var ErrNoTemplate = errors.New("host: no template command for digest") — linux/amd64 + var ErrNoTier = errors.New("offers no tier") + var ErrNotHandoff = errors.New("host: fiber does not take handed-off connections") — linux/amd64 + var ErrNotPrepared = errors.New("host: template not prepared for this grant") — linux/amd64 + var ErrParentMissing = errors.New("host: parent checkpoint not in the store") — linux/amd64 + var ErrParity = errors.New("host: platform parity") — linux/amd64 + var ErrUnsupported = errors.New("host: not supported on this platform") + func DefaultCeiling(g core.Grant, templateBytes uint64) uint64 + func ExportDelta(ctx context.Context, cfg Config, g core.Grant, session, dir string) ([]string, error) + func FormatTemplateFlag(digest string, command []string) (string, error) + func ParseTemplateFlag(m map[string]string, v string) error + type Config struct + Backend backend.Backend + Ceiling func(g core.Grant, templateBytes uint64) uint64 + CgroupRoot string + DeltaDir string + DeltaKeys artifact.Keys + DeltaRegistry string + Endpoints endpoint.Policy + Engine []string + EngineMemoryMax uint64 + EngineUID uint32 + FiberHide []string + Handoff *handoff.Router + HandoffKey []byte + HomeID string + Parity artifact.Parity + Platform artifact.Platform + PrivateDir string + Registry string + RunDir string + TemplateCache string + Templates map[string]string + WorkspaceDir string + func (c Config) Command(digest string) ([]string, bool) + type ExportInfo struct + Annotations map[string]string + Digest string + Domain string + Parent string + ParentAnnotations map[string]string + Session string + type Imported struct + Digest string + Ref string + func ImportDelta(ctx context.Context, cfg Config, g core.Grant, session, dir string) (Imported, error) + type Runtime struct — darwin/amd64, js/wasm, windows/amd64 + func New(Config) (*Runtime, error) + func (*Runtime) Close() + func (*Runtime) Deliver(string, *os.File) error + func (*Runtime) DevicePressure() core.PressureSource + func (*Runtime) PruneGrants(map[string]bool) + type Runtime struct — linux/amd64 + func New(cfg Config) (*Runtime, error) + func (r *Runtime) AttachDevices(grantUID string, fc core.DeviceChannel) + func (r *Runtime) CgroupRoot() string + func (r *Runtime) ClaimDelta(ctx context.Context, g core.Grant, session string, rd core.RemoteDelta) (string, error) + func (r *Runtime) Clone(ctx context.Context, spec core.CloneSpec) (core.FiberHandle, error) + func (r *Runtime) Close() + func (r *Runtime) DefaultDeadlines(grantUID string) (create, resume time.Duration) + func (r *Runtime) DeleteDelta(ctx context.Context, g core.Grant, session, handle string) (string, bool, error) + func (r *Runtime) Deliver(fiberID string, conn *os.File) error + func (r *Runtime) DeviceOffer(grantUID string) (string, uint64) + func (r *Runtime) DevicePressure() core.PressureSource + func (r *Runtime) DeviceReport(since uint64) core.DeviceReport + func (r *Runtime) DiscardDelta(_ context.Context, ref string) error + func (r *Runtime) Download(_ context.Context, fiberID, path string, offset int64) (core.FileReader, error) + func (r *Runtime) Drain(grantUID string, n int) int + func (r *Runtime) DropTemplate(grantUID string) + func (r *Runtime) Exits() <-chan core.FiberExit + func (r *Runtime) Fill(ctx context.Context, g core.Grant, deadline time.Duration) error + func (r *Runtime) FindDelta(ctx context.Context, g core.Grant, session string) (core.RemoteDelta, bool, error) + func (r *Runtime) HandoffRoute(fiberID string) (key, pin string, cert []byte, ok bool) + func (r *Runtime) HandsOff() bool + func (r *Runtime) HasDelta(ref string) bool + func (r *Runtime) HoldsWorkspaces() bool + func (r *Runtime) IsolatesTenants() bool + func (r *Runtime) List(context.Context) ([]core.FiberHandle, error) + func (r *Runtime) ListFiles(_ context.Context, fiberID, dir string) ([]core.FileInfo, error) + func (r *Runtime) Owned(ctx context.Context, deltaRef string) bool + func (r *Runtime) Park(ctx context.Context, fiberID string, sync bool) (string, error) + func (r *Runtime) Pooled(grantUID string) int + func (r *Runtime) PooledExits() <-chan string + func (r *Runtime) PrepareTemplate(ctx context.Context, g core.Grant) error + func (r *Runtime) Pressure(grantUID string) (float64, error) + func (r *Runtime) PruneGrants(keep map[string]bool) + func (r *Runtime) PublishDelta(ctx context.Context, deltaRef string, g core.Grant, session string) (string, error) + func (r *Runtime) Relays() bool + func (r *Runtime) Release(ctx context.Context, fiberID string, discard bool) error + func (r *Runtime) RetireDelta(ctx context.Context, deltaRef string) error + func (r *Runtime) ReturnDelta(ctx context.Context, g core.Grant, session, deltaRef string) error + func (r *Runtime) Stats(_ context.Context, fiberID string) (core.FiberStats, error) + func (r *Runtime) SweepDeltas(_ context.Context, keep []string) (int, error) + func (r *Runtime) Tier() core.Tier + func (r *Runtime) Upload(_ context.Context, fiberID, path string, size int64, mode fs.FileMode, ...) (core.FileInfo, error) v0.4.0-rc.1 Nov 6, 2026