Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 22, 2026 Changes in this version + var ErrClosed = errors.New("application is shut down") + var ErrStale = errors.New("application generation is stale") + type AsyncConfig struct + Authorize jobs.Authorizer + ErrorTTL time.Duration + FS afs.Service + Notification xasync.Notification + Notify func(context.Context, *xasync.Job) error + Store *jobs.SQLStore + TTL time.Duration + Watch jobstorage.WatchConfig + type Build struct + BootstrapLogger xlogger.Logger + Components []*registry.RegisteredComponent + Documentation xdocs.Source + HTTP gateway.Config + Index *bootstrapindex.Snapshot + Logger xlogger.Logger + MCP mcp.Config + Materializer bootstrapindex.Materializer + Preload []spec.Key + Resources *resource.Store + RuntimeOptions []runtime.Option + Shutdown func(context.Context) error + Types *typecatalog.Catalog + Version string + type Manager struct + func New(types *typecatalog.Catalog, configure ...Option) (*Manager, error) + func (m *Manager) DispatchStorageEvent(ctx context.Context, object storage.Object) error + func (m *Manager) ExportOpenAPI(ctx context.Context, request openapi.ExportRequest) ([]byte, error) + func (m *Manager) HandleJob(ctx context.Context, event *jobs.Event) (any, error) + func (m *Manager) InvokeComponent(ctx context.Context, request exec.ComponentRequest) (any, error) + func (m *Manager) JobStatus(ctx context.Context, id string) (*xasync.Job, error) + func (m *Manager) Metadata(ctx context.Context) (*Metadata, error) + func (m *Manager) Pin(ctx context.Context) (context.Context, mcpserver.ServerService, error) + func (m *Manager) PinOwned(ctx context.Context) (context.Context, mcpserver.ServerService, error) + func (m *Manager) PinSnapshot(ctx context.Context) (context.Context, mcpserver.ServerService, error) + func (m *Manager) Reload(ctx context.Context, request Request) error + func (m *Manager) RepublishJob(ctx context.Context, id string) error + func (m *Manager) Revision() uint64 + func (m *Manager) ScheduleJob(ctx context.Context, request jobs.Submission) (*jobs.Scheduled, error) + func (m *Manager) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (m *Manager) Shutdown(ctx context.Context) error + func (m *Manager) Types(ctx context.Context) (*typecatalog.Catalog, error) + type Metadata struct + Components []*spec.Component + Revision uint64 + type Option func(*options) error + func WithAsync(config AsyncConfig) Option + func WithObservability(config runtime.ObservabilityConfig) Option + type Request struct + Compile func(context.Context, *typecatalog.Catalog) (*Build, error) + Revision uint64