Versions in this module Expand all Collapse all v0 v0.51.0 Jun 30, 2026 Changes in this version type BuildConfig + DiskSize string + Ports []string + ProgramPath string type Config + Ports []string v0.50.0 Jun 29, 2026 v0.49.0 Jun 29, 2026 Changes in this version + const SchemaVersion + func BuildManifest(cfg BuildConfig) string + func DigestSHA256(data []byte) string + func Marshal(m Manifest) ([]byte, error) + type BuildConfig struct + Args []string + BinaryPath string + CPUs int + Entrypoint string + Env map[string]string + Memory string + MkfsRun MkfsFunc + Name string + Output io.Writer + PkgFiles []pkg.File + Port int + Tag string + type Builder struct + func NewBuilder(store *Store) *Builder + func (b *Builder) Build(ctx context.Context, cfg BuildConfig) (Manifest, error) + type Config struct + CPUs int + Env []string + Memory string + type Manifest struct + Config Config + Created time.Time + DiskDigest string + DiskSize int64 + Name string + SchemaVersion int + Tag string + func Parse(data []byte) (Manifest, error) + func (m Manifest) Ref() string + type MkfsFunc func(ctx context.Context, imgPath, binaryPath string, manifest string) *exec.Cmd + type Store struct + func NewStore(root string) (*Store, error) + func (s *Store) DiskPath(ref string) (string, error) + func (s *Store) Get(ref string) (Manifest, string, error) + func (s *Store) List() ([]Manifest, error) + func (s *Store) Put(name, tag string, m Manifest, diskPath string) error + func (s *Store) Remove(ref string) error v0.48.0 Jun 26, 2026