Help us shape the future of Go! Take the 2026 Go Developer Survey

backend

module
v2.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: BSD-3-Clause

Directories

Path Synopsis
api
ws
cli
upgrade
Package upgrade provides the Arcane CLI command that upgrades a running Arcane container by recreating it with a newer image.
Package upgrade provides the Arcane CLI command that upgrades a running Arcane container by recreating it with a newer image.
internal
activity
Package activity owns background activity persistence, execution tracking, streaming, and the HTTP surface used to inspect and cancel work.
Package activity owns background activity persistence, execution tracking, streaming, and the HTTP surface used to inspect and cancel work.
activity/children/pubsub
Package pubsub fans activity stream events out to per-environment subscribers.
Package pubsub fans activity stream events out to per-environment subscribers.
activity/children/slots
Package slots bounds how many queue-opted activities run concurrently per environment and tracks which activity holds each slot.
Package slots bounds how many queue-opted activities run concurrently per environment and tracks which activity holds each slot.
activity/children/sweeps
Package sweeps selects the activity rows that periodic and startup repair sweeps finalize.
Package sweeps selects the activity rows that periodic and startup repair sweeps finalize.
apikey
Package apikey owns API-key persistence, permission grants, validation, and the API-key HTTP surface.
Package apikey owns API-key persistence, permission grants, validation, and the API-key HTTP surface.
apns
Package apns owns mobile push device pairing, the relay outbox, and its HTTP routes.
Package apns owns mobile push device pairing, the relay outbox, and its HTTP routes.
auth
Package auth owns authentication, token issuance and verification, login session policy, and the authentication HTTP surface.
Package auth owns authentication, token issuance and verification, login session policy, and the authentication HTTP surface.
backup
Package backup owns the shared Rustic backup engine used by volume and system backups: typed repository operations, per-repository serialization and run admission.
Package backup owns the shared Rustic backup engine used by volume and system backups: typed repository operations, per-repository serialization and run admission.
container
Package container owns Docker container lifecycle, inspection, listing and stats, plus the HTTP surface that exposes them.
Package container owns Docker container lifecycle, inspection, listing and stats, plus the HTTP surface that exposes them.
container/children/stats
Package stats owns container resource sampling, resource metrics, resource sorting and the live stats stream.
Package stats owns container resource sampling, resource metrics, resource sorting and the live stats stream.
dashboard
Package dashboard owns the dashboard snapshot assembled from the container, project, image, volume and vulnerability domains, the HTTP surface that serves it, and local inventory metrics.
Package dashboard owns the dashboard snapshot assembled from the container, project, image, volume and vulnerability domains, the HTTP surface that serves it, and local inventory metrics.
di
Package di owns the backend's dependency-injection graph.
Package di owns the backend's dependency-injection graph.
environment
Package environment owns environment persistence, remote runtime state, pairing, synchronization, and its HTTP and stream surfaces.
Package environment owns environment persistence, remote runtime state, pairing, synchronization, and its HTTP and stream surfaces.
environment/children/health
Package health probes environment connectivity over direct HTTP, edge tunnels or the local Docker socket.
Package health probes environment connectivity over direct HTTP, edge tunnels or the local Docker socket.
environment/children/proxy
Package proxy owns the transport to remote environment agents: request building, edge tunnel routing, JSON decoding and configuration pushes.
Package proxy owns the transport to remote environment agents: request building, edge tunnel routing, JSON decoding and configuration pushes.
environment/children/snippets
Package snippets renders agent deployment snippets and issues the edge mTLS assets they reference.
Package snippets renders agent deployment snippets and issues the edge mTLS assets they reference.
environment/children/swarm
Package swarm owns swarm-node agent provisioning, node binding policy, and agent API-key rotation; the parent persists environment rows.
Package swarm owns swarm-node agent provisioning, node binding policy, and agent API-key rotation; the parent persists environment rows.
event
Package event owns persisted system events, manager ingestion, and event HTTP routes.
Package event owns persisted system events, manager ingestion, and event HTTP routes.
gitops
Package gitops owns GitOps synchronization, scheduling, persistence, and routes.
Package gitops owns GitOps synchronization, scheduling, persistence, and routes.
gitops/children/backup
Package backup commits saved project files to a Git branch and reports the remote backup state, history and revisions.
Package backup commits saved project files to a Git branch and reports the remote backup state, history and revisions.
gitops/children/sync
Package sync applies deployment GitOps syncs: it clones the source, stages and promotes project files, and redeploys the linked project or stack.
Package sync applies deployment GitOps syncs: it clones the source, stages and promotes project files, and redeploys the linked project or stack.
gitrepo
Package gitrepo owns configured Git repositories and their HTTP surface.
Package gitrepo owns configured Git repositories and their HTTP surface.
image
Package image owns Docker image operations, metadata, attestations, patching, and routes.
Package image owns Docker image operations, metadata, attestations, patching, and routes.
imageupdate
Package imageupdate owns image update checks, persistence, and HTTP routes.
Package imageupdate owns image update checks, persistence, and HTTP routes.
job
Package job owns background-job schedule configuration and its HTTP surface.
Package job owns background-job schedule configuration and its HTTP surface.
job/children/remote
Package remote owns manager-side delivery, history and review of job runs executed on remote agents.
Package remote owns manager-side delivery, history and review of job runs executed on remote agents.
job/children/runtime
Package runtime projects durable run history and scheduler runtime state onto job statuses.
Package runtime projects durable run history and scheduler runtime state onto job statuses.
kv
notification
Package notification owns notification settings, dispatch, and HTTP routes.
Package notification owns notification settings, dispatch, and HTTP routes.
project
Package project owns compose project persistence, lifecycle, discovery, and routes.
Package project owns compose project persistence, lifecycle, discovery, and routes.
project/children/deployment
Package deployment runs the image and bind-directory side of project deployments: pulls, builds, update reconciliation and dependents.
Package deployment runs the image and bind-directory side of project deployments: pulls, builds, update reconciliation and dependents.
project/children/details
Package details derives project runtime state: service status from Compose and containers, include files, logs and image update checks.
Package details derives project runtime state: service status from Compose and containers, include files, logs and image update checks.
project/children/lifecycle
Package lifecycle runs pre-deploy hook scripts in isolated runner containers and captures their output.
Package lifecycle runs pre-deploy hook scripts in isolated runner containers and captures their output.
project/children/listing
Package listing projects stored projects and live Compose containers into paginated list rows, status counts and untracked-project update rows.
Package listing projects stored projects and live Compose containers into paginated list rows, status counts and untracked-project update rows.
project/children/sync
Package sync manages the project env files a git sync writes (the git source, the Arcane override and the merged effective .env) and persists submitted project file updates.
Package sync manages the project env files a git sync writes (the git source, the Arcane override and the merged effective .env) and persists submitted project file updates.
project/children/tags
Package tags owns project tag rules: UI and Compose sources, colors, per-project limits and the effective tag view.
Package tags owns project tag rules: UI and Compose sources, colors, per-project limits and the effective tag view.
project/children/update
Package update owns project content updates: compose image edits and the rename journal that makes project renames recoverable.
Package update owns project content updates: compose image edits and the rename journal that makes project renames recoverable.
project/children/workspace
Package workspace reads and edits project directories as bounded, revision-checked workspaces.
Package workspace reads and edits project directories as bounded, revision-checked workspaces.
role
Package role owns RBAC roles, assignments, permission resolution, and role HTTP routes.
Package role owns RBAC roles, assignments, permission resolution, and role HTTP routes.
s3
Package s3 owns reusable S3-compatible backup destinations and their HTTP surface.
Package s3 owns reusable S3-compatible backup destinations and their HTTP surface.
search
Package search owns the metadata-backed settings and customization search indexes and the HTTP surface for customization search.
Package search owns the metadata-backed settings and customization search indexes and the HTTP surface for customization search.
settings
Package settings owns persisted application settings and their HTTP surface.
Package settings owns persisted application settings and their HTTP surface.
swarm
Package swarm owns Docker Swarm management and its HTTP routes.
Package swarm owns Docker Swarm management and its HTTP routes.
system
Package system owns Docker system-wide operations — prune, disk usage, host info, self-upgrade, system backups — and the HTTP surface that exposes them.
Package system owns Docker system-wide operations — prune, disk usage, host info, self-upgrade, system backups — and the HTTP surface that exposes them.
telemetry
Package telemetry relays browser OpenTelemetry data to the collector configured through the standard OTEL_* exporter, endpoint, protocol, and header variables.
Package telemetry relays browser OpenTelemetry data to the collector configured through the standard OTEL_* exporter, endpoint, protocol, and header variables.
template
Package template owns compose templates and the template HTTP surface.
Package template owns compose templates and the template HTTP surface.
updater
Package updater owns automatic container and project updates: deciding what is out of date, applying the update, and the HTTP surface that drives it.
Package updater owns automatic container and project updates: deciding what is out of date, applying the update, and the HTTP surface that drives it.
upload
Package upload owns chunked upload sessions: filesystem-backed staging for large files that arrive as independently retryable chunks, consumed by the image, volume-backup, and build-workspace endpoints.
Package upload owns chunked upload sessions: filesystem-backed staging for large files that arrive as independently retryable chunks, consumed by the image, volume-backup, and build-workspace endpoints.
user
Package user owns user persistence, password hashing, authorization guards, and the user HTTP surface.
Package user owns user persistence, password hashing, authorization guards, and the user HTTP surface.
variable
Package variable owns global variables, environment materialization, and routes.
Package variable owns global variables, environment materialization, and routes.
volume
Package volume owns Docker volumes: CRUD and pruning, the helper-container file browser, backup and restore, and the HTTP surface for all of it.
Package volume owns Docker volumes: CRUD and pruning, the helper-container file browser, backup and restore, and the HTTP surface for all of it.
vulnerability
Package vulnerability owns vulnerability scanning, persistence, and HTTP routes.
Package vulnerability owns vulnerability scanning, persistence, and HTTP routes.
webhook
Package webhook owns inbound webhook targets: the tokens that authenticate them, the actions they trigger, and the HTTP surface that manages them.
Package webhook owns inbound webhook targets: the tokens that authenticate them, the actions they trigger, and the HTTP surface that manages them.
pkg
authz
Package authz defines the permission taxonomy and authorization primitives used across Arcane handlers.
Package authz defines the permission taxonomy and authorization primitives used across Arcane handlers.
fswatch
Package fswatch stays on os.* rather than acfs: it watches arbitrary user-configured paths and deliberately follows symlinks that may resolve outside any confinement root, which acfs cannot do.
Package fswatch stays on os.* rather than acfs: it watches arbitrary user-configured paths and deliberately follows symlinks that may resolve outside any confinement root, which acfs cannot do.
libarcane
Package libarcane contains shared compatibility helpers, setting utilities, and internal resource metadata used across Arcane's backend and CLI.
Package libarcane contains shared compatibility helpers, setting utilities, and internal resource metadata used across Arcane's backend and CLI.
libarcane/rustic
Package rustic provides shared Rustic runtime configuration.
Package rustic provides shared Rustic runtime configuration.
libarcane/vuln
Package vuln drives Trivy scans: building and parsing scanner invocations, plus the container-level mechanics of running one — runtime/network detection, container spec and resources, temp files, log copy and tar extraction, and report decoding.
Package vuln drives Trivy scans: building and parsing scanner invocations, plus the container-level mechanics of running one — runtime/network detection, container spec and resources, temp files, log copy and tar extraction, and report decoding.
scheduler/entityjobs
Package entityjobs registers one dynamic scheduler job per database row, such as a GitOps sync or a backup policy.
Package entityjobs registers one dynamic scheduler job per database row, such as a GitOps sync or a backup policy.
scheduler/flow
Package flow runs durable multi-step jobs as Francis workflows inside coordinator runs.
Package flow runs durable multi-step jobs as Francis workflows inside coordinator runs.
scheduler/flow/flowtest
Package flowtest runs workflow engines on isolated Francis hosts for tests.
Package flowtest runs workflow engines on isolated Francis hosts for tests.
scheduler/jobcontext
Package jobcontext carries durable execution progress through domain operations.
Package jobcontext carries durable execution progress through domain operations.
scheduler/runs
Package runs coordinates durable scheduler execution and recovery.
Package runs coordinates durable scheduler execution and recovery.
scheduler/schedule
Package schedule provides reusable schedule validation.
Package schedule provides reusable schedule validation.
utils/acfs
Package acfs maps ACFS protocol types to Arcane workspace contracts.
Package acfs maps ACFS protocol types to Arcane workspace contracts.
utils/backupbrowser
Package backupbrowser provides deterministic backup-tree construction, paging, and restore-selection validation.
Package backupbrowser provides deterministic backup-tree construction, paging, and restore-selection validation.
utils/dbutil
Package dbutil provides small generic helpers around GORM that consolidate repetitive single-row lookup and transaction boilerplate found across services.
Package dbutil provides small generic helpers around GORM that consolidate repetitive single-row lookup and transaction boilerplate found across services.
utils/francis
Package francis owns the embedded Francis host lifecycle.
Package francis owns the embedded Francis host lifecycle.
utils/francis/testing
Package testing starts isolated Francis hosts for owning-logic tests.
Package testing starts isolated Francis hosts for owning-logic tests.
utils/iconcatalog
Package iconcatalog resolves Arcane icon metadata into catalog URLs.
Package iconcatalog resolves Arcane icon metadata into catalog URLs.
utils/imageref
Package imageref contains shared image-reference parsing operations.
Package imageref contains shared image-reference parsing operations.
utils/s3
Package s3 provides reusable S3 configuration and connectivity helpers.
Package s3 provides reusable S3 configuration and connectivity helpers.
utils/tracing
Package tracing holds shared helpers for Arcane's own OpenTelemetry spans.
Package tracing holds shared helpers for Arcane's own OpenTelemetry spans.
proto

Jump to

Keyboard shortcuts

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