Versions in this module Expand all Collapse all v0 v0.4.0 Nov 7, 2026 Changes in this version + const FenceMax + const IncarnationFields + const MountSourcePrefix + const RecordAck + const RecordCarryOn + const RecordClaim + const RecordIncarnation + const RecordMax + const RecordPark + const RecordQuiesce + const SeedBytes + const TemplateMount + const WorkspaceMount + var ErrNoPool = errors.New("backend: the template does not bind late, no pool") + var ErrRecord = errors.New("backend: malformed channel record") + var ErrUnsupported = errors.New("backend: not supported on this platform") + var ErrYielded = errors.New("backend: the pool restore yielded to a clone") + var TemplateMountOptions = []string + func Channel(make func(typ int) ([2]int, error), inc Incarnation) (host, fiber *os.File, err error) — linux/amd64 + func ChannelFDs(make func(typ int) ([2]int, error), inc Incarnation) ([2]int, error) — linux/amd64 + func ParseRecord(data []byte) (kind byte, fields []string, ok bool) + func Queue(fd int, inc Incarnation) error — linux/amd64 + func Record(kind byte, fields ...string) []byte + func SizeDeadline(measured, floor time.Duration, factor int, ceiling time.Duration) time.Duration + func StageTemplate(t Template, dir string) ([]string, error) + type Backend interface + Clone func(ctx context.Context, warmID string, spec FiberSpec) (Fiber, error) + Close func() + Exits func() <-chan Exit + Kill func(fiberID string) error + Name func() string + Park func(ctx context.Context, fiberID string, spec ParkSpec) error + Resume func(ctx context.Context, spec ResumeSpec) (Fiber, error) + Tier func() core.Tier + Unwarm func(id string) + Warm func(ctx context.Context, spec WarmSpec) (Warm, error) + type DeadlineAdvisor interface + DefaultDeadlines func(warmID string) (create, resume time.Duration) + type DeltaCodec interface + Compute func(dir string, parent Parent) (DeltaInfo, error) + HasDelta func(dir string) bool + ImageBytes func(dir string) (uint64, error) + LoadParent func(dir string) (Parent, error) + Merge func(dir string, parent Parent) error + ReadDeltaInfo func(dir string) (DeltaInfo, error) + type DeltaInfo struct + Bytes uint64 + ParentSHA256 string + type EndpointSchemer interface + EndpointSchemes func() []string + type Exit struct + FiberID string + Instance uint64 + PooledID string + Status string + WarmID string + type Fiber struct + Channel *os.File + Footprint uint64 + ID string + PID int + type FiberSpec struct + CgroupFD int + Deadline time.Duration + Endpoint string + Fence string + Generation int + Identity *Identity + OwnPIDNS bool + Payload []byte + Session string + Workspace string + type Handoffer interface + Handoff func() bool + type IDMapper interface + MappedRoot func(key string) (uint32, error) + type Identity struct + Caller string + CallerPEM string + CertPEM string + KeyPEM string + type Incarnation struct + Endpoint string + Fence string + Generation int + Identity *Identity + Kind string + Payload []byte + Seed []byte + Session string + func ParseIncarnation(data []byte) (Incarnation, error) + func (inc Incarnation) Record() ([]byte, error) + type Isolator interface + IsolatesTenants func() bool + type Overheader interface + FiberOverheadBytes func() uint64 + type Parent interface + Close func() + SHA256 func() string + type ParkSpec struct + Capture func() error + CgroupFD int + Channel *os.File + Deadline time.Duration + Dir string + Sync bool + type Platformer interface + Platform func() artifact.Platform + type PoolSpec struct + CgroupFD int + Deadline time.Duration + type Pooled struct + ID string + PID int + type Pooler interface + Bind func(ctx context.Context, pooledID string, spec FiberSpec) (Fiber, error) + Discard func(pooledID string) + Pool func(ctx context.Context, warmID string, spec PoolSpec) (Pooled, error) + type Prober interface + ProbeErr func() error + type ResumeSpec struct + CgroupFD int + Deadline time.Duration + Dir string + Endpoint string + EnginePath string + Fence string + Generation int + Handoff bool + RangeKey string + Session string + WarmID string + WorkDir string + Workspace string + type SelfCheckpointer interface + CheckpointWarm func(ctx context.Context, warmID, dir string) error + type SnapshotRestorer interface + ImagesFormat func() string + type Template struct + Argv []string + Digest string + Dir string + ImagesDir string + SnapshotDir string + ZygoteSHA256 string + type WMeter interface + WCounter func() string + type WReporter interface + FiberW func(fiberID string) (uint64, bool) + type Warm struct + Bytes uint64 + ID string + Instance uint64 + PID int + TotalBytes uint64 + type WarmSpec struct + CgroupFD int + Devices []string + EnginePath string + GrantUID string + Hide []string + ProbeCgroupFD int + RangeKey string + Template Template + WorkDir string + type WorkspaceHolder interface + HoldsWorkspaces func() bool v0.4.0-rc.1 Nov 6, 2026