Directories
¶
| Path | Synopsis |
|---|---|
|
Package api wires together the sqi-server HTTP surface: the chi router, standard middleware stack, and all route groups.
|
Package api wires together the sqi-server HTTP surface: the chi router, standard middleware stack, and all route groups. |
|
Package bus provides the embedded NATS JetStream message broker and the subject/stream definitions used for sqi-server's internal messaging.
|
Package bus provides the embedded NATS JetStream message broker and the subject/stream definitions used for sqi-server's internal messaging. |
|
Package config defines the sqi-server runtime configuration and provides layered loading from built-in defaults, a YAML/JSON file, SQI_* environment variables, and CLI flag overrides — in that override order.
|
Package config defines the sqi-server runtime configuration and provides layered loading from built-in defaults, a YAML/JSON file, SQI_* environment variables, and CLI flag overrides — in that override order. |
|
Package diag holds the server-side in-memory ring buffer of diagnostic (operational) log records gathered from sqi-server itself and from connected workers.
|
Package diag holds the server-side in-memory ring buffer of diagnostic (operational) log records gathered from sqi-server itself and from connected workers. |
|
Package discovery advertises the running sqi-server on the local network via multicast DNS (mDNS / DNS-SD) so that workers and the sqi CLI can find it without manual address configuration.
|
Package discovery advertises the running sqi-server on the local network via multicast DNS (mDNS / DNS-SD) so that workers and the sqi CLI can find it without manual address configuration. |
|
Package health implements liveness and readiness checks for sqi-server.
|
Package health implements liveness and readiness checks for sqi-server. |
|
Package log provides slog-based structured logging for the sqi binaries.
|
Package log provides slog-based structured logging for the sqi binaries. |
|
Package metrics defines and registers all Prometheus metrics for sqi-server.
|
Package metrics defines and registers all Prometheus metrics for sqi-server. |
|
Package middleware provides net/http middleware for sqi-server.
|
Package middleware provides net/http middleware for sqi-server. |
|
Package openjd implements parsing, validation, and parameter-space expansion for Open Job Description (OpenJD) job templates.
|
Package openjd implements parsing, validation, and parameter-space expansion for Open Job Description (OpenJD) job templates. |
|
fmtstring
Package fmtstring resolves Open Job Description (OpenJD) format strings.
|
Package fmtstring resolves Open Job Description (OpenJD) format strings. |
|
Package presetgen generates a preset-library index and definition files from the repo's authored presets (presets/sqi/*.yaml) and publishes them into a library checkout.
|
Package presetgen generates a preset-library index and definition files from the repo's authored presets (presets/sqi/*.yaml) and publishes them into a library checkout. |
|
Package presetlib is the client for a community preset library: it fetches a static JSON index (cached in memory) and, on install, fetches and verifies a single preset definition.
|
Package presetlib is the client for a community preset library: it fetches a static JSON index (cached in memory) and, on install, fetches and verifies a single preset definition. |
|
Package product is the catalog layer over OpenJD templates: it parses product definition files, holds the embedded built-ins, validates inline templates, and overlays read-only built-ins on the store via Catalog.
|
Package product is the catalog layer over OpenJD templates: it parses product definition files, holds the embedded built-ins, validates inline templates, and overlays read-only built-ins on the store via Catalog. |
|
Package scheduler implements the sqi-server assignment loop and worker registry — the authoritative component for deciding which task runs on which worker.
|
Package scheduler implements the sqi-server assignment loop and worker registry — the authoritative component for deciding which task runs on which worker. |
|
Package server owns the sqi-server component lifecycle: starting and stopping the store, message bus, scheduler, HTTP server, and mDNS responder in the correct dependency order.
|
Package server owns the sqi-server component lifecycle: starting and stopping the store, message bus, scheduler, HTTP server, and mDNS responder in the correct dependency order. |
|
Package store defines the storage interface for sqi-server and the domain model types shared across all components.
|
Package store defines the storage interface for sqi-server and the domain model types shared across all components. |
|
fake
Package fake provides an in-memory implementation of store.Store for unit tests that must avoid touching the filesystem.
|
Package fake provides an in-memory implementation of store.Store for unit tests that must avoid touching the filesystem. |
|
migrations
Package migrations embeds the SQL migration files used by goose to manage the sqi-server SQLite schema.
|
Package migrations embeds the SQL migration files used by goose to manage the sqi-server SQLite schema. |
|
sqlite
Package sqlite provides a SQLite-backed implementation of store.Store.
|
Package sqlite provides a SQLite-backed implementation of store.Store. |
|
Package ui serves the embedded web UI bundle over HTTP with single-page application (SPA) routing semantics.
|
Package ui serves the embedded web UI bundle over HTTP with single-page application (SPA) routing semantics. |
|
Package version holds build-time metadata injected by the release toolchain.
|
Package version holds build-time metadata injected by the release toolchain. |
|
worker
|
|
|
cancel
Package cancel implements per-task cancel-signal subscriptions for sqi-worker.
|
Package cancel implements per-task cancel-signal subscriptions for sqi-worker. |
|
capabilities
Package capabilities provides auto-detection and manual override of sqi-worker host capabilities reported to sqi-server at registration time.
|
Package capabilities provides auto-detection and manual override of sqi-worker host capabilities reported to sqi-server at registration time. |
|
config
Package config defines the sqi-worker runtime configuration and provides layered loading from built-in defaults, a YAML/JSON file, SQI_WORKER_* environment variables, and CLI flag overrides — in that override order.
|
Package config defines the sqi-worker runtime configuration and provides layered loading from built-in defaults, a YAML/JSON file, SQI_WORKER_* environment variables, and CLI flag overrides — in that override order. |
|
diaglog
Package diaglog implements the sqi-worker diagnostic-log sink.
|
Package diaglog implements the sqi-worker diagnostic-log sink. |
|
discovery
Package discovery provides mDNS-based sqi-server discovery for sqi-worker.
|
Package discovery provides mDNS-based sqi-server discovery for sqi-worker. |
|
envutil
Package envutil provides shared helpers for building process environment variable slices from os.Environ() plus a caller-supplied override map.
|
Package envutil provides shared helpers for building process environment variable slices from os.Environ() plus a caller-supplied override map. |
|
executor
Package executor implements the bare-metal task executor for sqi-worker.
|
Package executor implements the bare-metal task executor for sqi-worker. |
|
fmtres
Package fmtres resolves OpenJD "{{...}}" format strings on the worker, where the session working directory — and therefore Session.WorkingDirectory — is only known at run time.
|
Package fmtres resolves OpenJD "{{...}}" format strings on the worker, where the session working directory — and therefore Session.WorkingDirectory — is only known at run time. |
|
heartbeat
Package heartbeat implements the worker's periodic liveness signal to sqi-server.
|
Package heartbeat implements the worker's periodic liveness signal to sqi-server. |
|
lease
Package lease implements the worker side of the work-lease protocol: it keeps exactly one outstanding lease request per queue and dispatches each assignment the server returns.
|
Package lease implements the worker side of the work-lease protocol: it keeps exactly one outstanding lease request per queue and dispatches each assignment the server returns. |
|
logstreamer
Package logstreamer implements the log-chunk publisher for sqi-worker.
|
Package logstreamer implements the log-chunk publisher for sqi-worker. |
|
metrics
Package metrics defines and registers all Prometheus metrics for sqi-worker.
|
Package metrics defines and registers all Prometheus metrics for sqi-worker. |
|
natsclient
Package natsclient provides the NATS client factory for sqi-worker.
|
Package natsclient provides the NATS client factory for sqi-worker. |
|
obs
Package obs provides the local observability HTTP server for sqi-worker.
|
Package obs provides the local observability HTTP server for sqi-worker. |
|
openjd
Package openjd implements the OpenJD progress-line interceptor for sqi-worker.
|
Package openjd implements the OpenJD progress-line interceptor for sqi-worker. |
|
pathmap
Package pathmap implements resolved-mode path substitution for sqi-worker.
|
Package pathmap implements resolved-mode path substitution for sqi-worker. |
|
protocol
Package protocol defines the versioned JSON wire protocol used between sqi-server and sqi-worker agents.
|
Package protocol defines the versioned JSON wire protocol used between sqi-server and sqi-worker agents. |
|
registration
Package registration manages worker registration with sqi-server over NATS.
|
Package registration manages worker registration with sqi-server over NATS. |
|
session
Package session manages the lifecycle of OpenJD sessions on the worker.
|
Package session manages the lifecycle of OpenJD sessions on the worker. |
|
staging
Package staging implements the stage_locally path delivery: copying job inputs to worker-local scratch before a task runs and outputs back afterward.
|
Package staging implements the stage_locally path delivery: copying job inputs to worker-local scratch before a task runs and outputs back afterward. |
|
status
Package status implements the typed task-status publisher for sqi-worker.
|
Package status implements the typed task-status publisher for sqi-worker. |
|
Package ws defines the typed WebSocket message envelope shared by the server upgrade handler (internal/api) and the fanout layer.
|
Package ws defines the typed WebSocket message envelope shared by the server upgrade handler (internal/api) and the fanout layer. |
Click to show internal directories.
Click to hide internal directories.