Versions in this module Expand all Collapse all v0 v0.1.0 Nov 23, 2026 Changes in this version + const DefaultBackupKeep + const UpdateHint + func FormatPorts(d *spec.Definition, ports map[string]int) string + type App struct + Dirs paths.Dirs + Log func(format string, a ...any) + Out io.Writer + Store instance.Store + func New(out io.Writer) (*App, error) + func (a *App) AddRegistry(ctx context.Context, src registry.Source) error + func (a *App) Backups(name string) ([]Backup, error) + func (a *App) Catalog() ([]Entry, []string, error) + func (a *App) ConsoleCommand(name, line string, o ConsoleOptions) (string, error) + func (a *App) ConsoleDetails(name string) (ConsoleInfo, error) + func (a *App) ConsoleSession(ctx context.Context, name string, o ConsoleOptions, stdin io.Reader, ...) error + func (a *App) Find(ref string) (Entry, error) + func (a *App) Install(ctx context.Context, p *Plan) (*instance.Instance, error) + func (a *App) LoadConfig() (*Config, error) + func (a *App) Logs(name string, lines int, follow bool) error + func (a *App) MakeBackup(name string) (Backup, error) + func (a *App) PlanInstall(req InstallRequest) (*Plan, error) + func (a *App) PortReport(name string) (string, error) + func (a *App) Reconfigure(name string, c Changes) error + func (a *App) Refresh(ctx context.Context) error + func (a *App) Remove(name string) error + func (a *App) RemoveRegistry(name string) error + func (a *App) Restart(name string, warn time.Duration) error + func (a *App) Restore(name, file string) error + func (a *App) Run(ctx context.Context, name string) error + func (a *App) SaveConfig(c *Config) error + func (a *App) Say(name, msg string) error + func (a *App) Sources() ([]registry.Source, error) + func (a *App) Start(name string) error + func (a *App) Status(name string) (StatusLine, error) + func (a *App) Statuses() ([]StatusLine, map[string]error, error) + func (a *App) SteamLogin(ctx context.Context, user string) error + func (a *App) SteamLogout() error + func (a *App) Stop(name string) error + func (a *App) Update(ctx context.Context, name string, warn time.Duration, steamOutput bool) error + type Backup struct + Created time.Time + Path string + Size int64 + type Changes struct + Expose []string + Ports map[string]int + Settings map[string]string + Unexpose []string + type Config struct + Registries []registry.Source + SteamUser string + type ConsoleInfo struct + Command []string + Description string + Kind ConsoleKind + Password string + Port int + Protocol string + Public bool + Service string + type ConsoleKind string + const ConsoleExec + const ConsoleRCON + const ConsoleStdin + type ConsoleOptions struct + Stdin bool + type Entry struct + Def *spec.Definition + Registry string + type InstallRequest struct + Expose []string + Name string + Ports map[string]int + ServerDir string + Service string + Settings map[string]string + Start bool + SteamOutput bool + Target string + type NeedsNewerError struct + ID string + Reason string + Registry string + func (e *NeedsNewerError) Error() string + type Plan struct + Entry Entry + Ports map[string]int + Req InstallRequest + Settings map[string]any + Target target.Target + Warnings []string + type StatusLine struct + Def *spec.Definition + Instance *instance.Instance + Status target.Status + Upgrade string