Versions in this module Expand all Collapse all v0 v0.1.0 Nov 23, 2026 Changes in this version + var ErrNotFound = errors.New("no such instance") + var NameRe = regexp.MustCompile(`^[a-z0-9][a-z0-9-]{0,39}$`) + func ValidateName(name string) error + type Instance struct + BackupKeep int + DefinitionVersion string + Dir string + Expose []string + Installed time.Time + Name string + Ports map[string]int + Registry string + ServerDir string + Service string + Settings map[string]string + Target string + Updated time.Time + func (in *Instance) ConsoleSocket() string + func (in *Instance) Context(d *spec.Definition, goos string) (spec.Context, error) + func (in *Instance) Exposed(port string) bool + func (in *Instance) LogDir() string + type Store struct + Root string + func (s Store) Delete(name string) error + func (s Store) Exists(name string) bool + func (s Store) List() ([]*Instance, map[string]error, error) + func (s Store) Load(name string) (*Instance, *spec.Definition, error) + func (s Store) Path(name string) string + func (s Store) Save(in *Instance, d *spec.Definition) error