worker/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package cancel receives the server's cancel signals for sqi-worker.
Package cancel receives the server's cancel signals for sqi-worker.
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.
Package commands lets a worker's operator say where a command a job runs really lives.
Package commands lets a worker's operator say where a command a job runs really lives.
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.
Package diaglog implements the sqi-worker diagnostic-log sink.
Package diaglog implements the sqi-worker diagnostic-log sink.
Package discovery provides mDNS-based sqi-server discovery for sqi-worker.
Package discovery provides mDNS-based sqi-server discovery for sqi-worker.
Package enroll obtains the nkey broker credential sqi-worker authenticates with: loading an existing seed from disk when one is present, and otherwise enrolling with sqi-server over REST when a join token is configured.
Package enroll obtains the nkey broker credential sqi-worker authenticates with: loading an existing seed from disk when one is present, and otherwise enrolling with sqi-server over REST when a join token is configured.
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.
Package executor implements the bare-metal task executor for sqi-worker.
Package executor implements the bare-metal task executor for sqi-worker.
Package fmtres resolves OpenJD "{{...}}" format strings on the worker, where the session working directory, and therefore Session.WorkingDirectory, is known only at run time.
Package fmtres resolves OpenJD "{{...}}" format strings on the worker, where the session working directory, and therefore Session.WorkingDirectory, is known only at run time.
Package heartbeat implements the worker's periodic liveness signal to sqi-server.
Package heartbeat implements the worker's periodic liveness signal to sqi-server.
Package isolation runs job-supplied processes under a queue-configured OS identity instead of the worker daemon's own account.
Package isolation runs job-supplied processes under a queue-configured OS identity instead of the worker daemon's own account.
Package lease implements the worker side of the work-lease protocol: it keeps 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 one outstanding lease request per queue and dispatches each assignment the server returns.
Package logstreamer implements the log-chunk publisher for sqi-worker.
Package logstreamer implements the log-chunk publisher for sqi-worker.
Package metrics defines and registers all Prometheus metrics for sqi-worker.
Package metrics defines and registers all Prometheus metrics for sqi-worker.
Package natsclient provides the NATS client factory for sqi-worker.
Package natsclient provides the NATS client factory for sqi-worker.
Package obs provides the local observability HTTP server for sqi-worker.
Package obs provides the local observability HTTP server for sqi-worker.
Package openjd implements the OpenJD progress-line interceptor for sqi-worker.
Package openjd implements the OpenJD progress-line interceptor for sqi-worker.
Package pathmap implements resolved-mode path substitution for sqi-worker.
Package pathmap implements resolved-mode path substitution for sqi-worker.
Package power lets sqi-server put the machine a worker runs on to sleep or power it off, and asks a worker to wake a peer, on behalf of a capacity group.
Package power lets sqi-server put the machine a worker runs on to sleep or power it off, and asks a worker to wake a peer, on behalf of a capacity group.
Package preempt watches a cloud provider's instance metadata service for the notice that a spot or preemptible machine is about to be reclaimed, so the worker running on it can hand its tasks back at once instead of being killed mid-task.
Package preempt watches a cloud provider's instance metadata service for the notice that a spot or preemptible machine is about to be reclaimed, so the worker running on it can hand its tasks back at once instead of being killed mid-task.
Package procout starts a child process with its output read in a way that lets the process's exit be seen while a descendant still holds that output open.
Package procout starts a child process with its output read in a way that lets the process's exit be seen while a descendant still holds that output open.
Package proctree contains a launched process and everything it spawns, so a worker can wait for, signal and stop the whole tree rather than only its direct child.
Package proctree contains a launched process and everything it spawns, so a worker can wait for, signal and stop the whole tree rather than only its direct child.
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.
Package registration manages worker registration with sqi-server over NATS.
Package registration manages worker registration with sqi-server over NATS.
Package session manages the lifecycle of OpenJD sessions on the worker.
Package session manages the lifecycle of OpenJD sessions on the worker.
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.
Package status implements the typed task-status publisher for sqi-worker.
Package status implements the typed task-status publisher for sqi-worker.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL