Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2026 Changes in this version + const AppName + const HealthBody + const HealthPath + const HealthTokenHeader + const MaxAPIBody + const StopPath + func DefaultStateDir(lookup func(string) (string, bool)) string + func GlobalSeed() string + func ParseSettingValue(k settings.Key, v any) (value any, note string, err error) + func SaveGlobalSetting(eng ConfigStore, key string, value any) error + func StartSync(reg *jobs.Registry, eng Syncer, kind jobs.Kind, packs []*config.PackConfig, ...) (*jobs.Job, error) + type APIOptions struct + Audit *jsonlog.Log + Enabled bool + EventsStream bool + RateLimit int + Tokens *apitoken.Store + WebhookEndpoints []settings.Webhook + Webhooks *webhooks.Dispatcher type AppEngine + ConfigSource string + GlobalLocation settings.GlobalLocation + History confighistory.Store + InitGlobalFrom func() app.GlobalInit + InitRecord string + func (e *AppEngine) AuditSets() ([]string, error) + func (e *AppEngine) CheckProgress(ctx context.Context, packs []*config.PackConfig, done func(int)) []checker.Result + func (e *AppEngine) ConfigHistory(name string) ([]confighistory.Entry, error) + func (e *AppEngine) ConfigHistoryRead(name, id string) ([]byte, error) + func (e *AppEngine) FixConfig(name string, data []byte) (app.Fixed, error) + func (e *AppEngine) GlobalInitInfo() GlobalInitInfo + func (e *AppEngine) InitGlobal(force bool) (GlobalInitResult, error) + func (e *AppEngine) PrivateConfigCandidates() []string + func (e *AppEngine) ValidatePacks(parse bool) ([]packcheck.Report, error) + type AuditRecord struct + Method string + Path string + Route string + Status int + Time time.Time + Token string + type BuildInfo struct + Commit string + Date string + Go string + Platform string + Version string + func BuildInfoOf(v string) BuildInfo + type ConfigStore interface + ReadConfig func(name string) (ConfigDoc, error) + WriteConfig func(name string, data []byte, base string) error + type DirStatus struct + Exists bool + Path string type Engine + AuditSets func() ([]string, error) + ConfigHistory func(name string) ([]confighistory.Entry, error) + ConfigHistoryRead func(name, id string) ([]byte, error) + FixConfig func(name string, data []byte) (app.Fixed, error) + PrivateConfigCandidates func() []string + ValidatePacks func(parse bool) ([]packcheck.Report, error) + type GlobalInitInfo struct + Generated time.Time + Notes []string + State app.GlobalState + type GlobalInitResult struct + Changed bool + Notes []string + Path string + State app.GlobalState + type GlobalInitializer interface + GlobalInitInfo func() GlobalInitInfo + InitGlobal func(force bool) (GlobalInitResult, error) type Options + API APIOptions + Build BuildInfo + Bus *events.Bus + TLS bool + Tools func() []app.Tool + type Problem struct + Detail string + Instance string + JobID string + Status int + Title string + Type string + type ProgressChecker interface + CheckProgress func(ctx context.Context, packs []*config.PackConfig, done func(int)) []checker.Result type RunHooks + func RunHooksFor(j *jobs.Job) RunHooks type Server + func (s *Server) Bus() *events.Bus + func (s *Server) Stop() + func (s *Server) Stopped() <-chan struct{} type SettingRow + Default string + Enum []string + Env string + Group string + Input string + Items []string + Max int + Min int + On bool + Typed any + func (r SettingRow) Anchor() string + func (r SettingRow) Overridden() bool + type SettingsSection struct + ID string + Rows []SettingRow + Title string type SettingsView + ConfigSource string + Global settings.GlobalLocation + PackagesDirs []DirStatus + PackagesDirsOrigin string + PageSize int + func (v SettingsView) Sections() []SettingsSection + type Syncer interface + Sync func(ctx context.Context, packs []*config.PackConfig, req RunRequest, ...) []app.Outcome v0.1.3-rc.1 Nov 25, 2026 v0.1.2 Oct 26, 2026retracted Changes in this version type AppEngine + func (e *AppEngine) AuditManifestPack(ctx context.Context, req AuditRequest, h AuditHooks) ([]manifestpack.Resolution, error) type Engine + AuditManifestPack func(ctx context.Context, req AuditRequest, hooks AuditHooks) ([]manifestpack.Resolution, error) v0.1.1 Oct 23, 2026retracted Changes in this version + const ContentSecurityPolicy + const DefaultPort + const DefaultPortAttempts + const GlobalName + const KindGlobal + const KindManifest + const KindPack + const KindRegistry + const SessionCookie + var ErrConflict = errors.New("the file changed on disk after it was opened") + func AllowedHosts(bindHost string, port int, extra []string) []string + func DefaultHistoryDir(lookup func(string) (string, bool)) string + func IsAddrInUse(err error) bool + func IsLoopback(host string) bool + func Listen(listen ListenFunc, host string, port int, pinned bool, attempts int) (net.Listener, error) + func NewToken() string + func ReadNotes(path string) map[string]string + func RecipeName(p *config.PackConfig) string + func WithRunFlags(stack settings.Stack, req RunRequest) (settings.Stack, error) + type AppEngine struct + ConfigDir string + Git *gitx.Git + GlobalHome string + GlobalPath string + Stack settings.Stack + Workspace string + func (e *AppEngine) AuditBundled(ctx context.Context, req AuditRequest, h AuditHooks) ([]bundled.Resolution, error) + func (e *AppEngine) Check(ctx context.Context, packs []*config.PackConfig) []checker.Result + func (e *AppEngine) ConfigFiles() ([]ConfigFile, error) + func (e *AppEngine) Pack(slug string) (*config.PackConfig, error) + func (e *AppEngine) PackNotes(pack *config.PackConfig) map[string]string + func (e *AppEngine) PackSettings(pack *config.PackConfig) (SettingsView, error) + func (e *AppEngine) PackStats(ctx context.Context, pack *config.PackConfig) PackStats + func (e *AppEngine) Packs() ([]*config.PackConfig, error) + func (e *AppEngine) ReadConfig(name string) (ConfigDoc, error) + func (e *AppEngine) Recipe(ctx context.Context, pack *config.PackConfig, version string, req RunRequest, ...) (pipeline.Result, error) + func (e *AppEngine) Settings() SettingsView + func (e *AppEngine) Sync(ctx context.Context, packs []*config.PackConfig, req RunRequest, ...) []app.Outcome + func (e *AppEngine) ValidateConfig(name string, data []byte) []app.Finding + func (e *AppEngine) WriteConfig(name string, data []byte, base string) error + type AuditHooks struct + Logger *slog.Logger + SetDone func(bundled.Resolution) + Starting func(sets int, filesRoot string) + type AuditRequest struct + Package string + Set string + type ConfigDoc struct + Data []byte + Exists bool + ReadOnly bool + Rev string + Why string + type ConfigFile struct + Kind string + Name string + Path string + Slug string + type Engine interface + AuditBundled func(ctx context.Context, req AuditRequest, hooks AuditHooks) ([]bundled.Resolution, error) + Check func(ctx context.Context, packs []*config.PackConfig) []checker.Result + ConfigFiles func() ([]ConfigFile, error) + Pack func(slug string) (*config.PackConfig, error) + PackNotes func(pack *config.PackConfig) map[string]string + PackSettings func(pack *config.PackConfig) (SettingsView, error) + PackStats func(ctx context.Context, pack *config.PackConfig) PackStats + Packs func() ([]*config.PackConfig, error) + ReadConfig func(name string) (ConfigDoc, error) + Recipe func(ctx context.Context, pack *config.PackConfig, version string, req RunRequest, ...) (pipeline.Result, error) + Settings func() SettingsView + Sync func(ctx context.Context, packs []*config.PackConfig, req RunRequest, ...) []app.Outcome + ValidateConfig func(name string, data []byte) []app.Finding + WriteConfig func(name string, data []byte, base string) error + type ListenFunc func(network, address string) (net.Listener, error) + type Options struct + AllowRemote bool + AllowedHosts []string + BindAddr string + CheckTTL time.Duration + Engine Engine + HistoryDir string + Now func() time.Time + ReadOnly bool + Token string + Version string + type PackStats struct + Branch string + Dirty bool + Err string + SVGs int + func ReadPackStats(ctx context.Context, git *gitx.Git, pack *config.PackConfig) PackStats + type RunHooks struct + Done func(app.Outcome) + Logger *slog.Logger + Observer pipeline.Observer + Starting func(pack *config.PackConfig, result checker.Result, dryRun bool) + type RunRequest struct + Concurrency int + DryRun bool + Force bool + type Server struct + func New(opts Options) (*Server, error) + func (s *Server) Close() + func (s *Server) Handler() http.Handler + func (s *Server) Serve(ctx context.Context, ln net.Listener) error + type SettingRow struct + Help string + Name string + Origin string + PackScoped bool + Value string + type SettingsView struct + ConfigDir string + GlobalPath string + Rows []SettingRow + func BuildSettingsView(r settings.Resolved, configDir, globalPath string) SettingsView + type ValidationError struct + Findings []app.Finding + func (e *ValidationError) Error() string