Directories
¶
| Path | Synopsis |
|---|---|
|
Package api is the package's one HTTP entry point.
|
Package api is the package's one HTTP entry point. |
|
nativehttp
Package nativehttp validates and exports native HTTP metadata.
|
Package nativehttp validates and exports native HTTP metadata. |
|
nativehttp/cmd/export
command
Command export emits metadata only; it never initializes an App or gateway.
|
Command export emits metadata only; it never initializes an App or gateway. |
|
Package appbackup exports and imports a package's data directory for Hyper Backup application backup.
|
Package appbackup exports and imports a package's data directory for Hyper Backup application backup. |
|
cmd/control
command
Command control is the package-account half of Hyper Backup application backup.
|
Command control is the package-account half of Hyper Backup application backup. |
|
Package background is the package-private spool, journal and fixed worker behind opt-in background jobs.
|
Package background is the package-private spool, journal and fixed worker behind opt-in background jobs. |
|
Package bridge hands a request the api package already verified to an App written in another language, over the channel in spec/bridge/v1.
|
Package bridge hands a request the api package already verified to an App written in another language, over the channel in spec/bridge/v1. |
|
cmd/describe
command
Command describe is the build-only bridge registry exporter.
|
Command describe is the build-only bridge registry exporter. |
|
cmd/runtime
command
Command runtime is the package CGI (ui/cgi/api.cgi) for an App written in Python, Node or Rust; spec/bridge/v1 describes the App directory it reads.
|
Command runtime is the package CGI (ui/cgi/api.cgi) for an App written in Python, Node or Rust; spec/bridge/v1 describes the App directory it reads. |
|
internal/bench
command
Command bench times one hello.greet request through api.Server, natively in Go and through the bridge to the hello Apps in exec mode.
|
Command bench times one hello.greet request through api.Server, natively in Go and through the bridge to the hello Apps in exec mode. |
|
Package compose plans unmodified upstream Compose for DSM's official worker.
|
Package compose plans unmodified upstream Compose for DSM's official worker. |
|
cmd/plan
command
Command plan is the SDK's build-time Compose tool.
|
Command plan is the SDK's build-time Compose tool. |
|
cmd/storage-init
command
storage-init ships in the SPK and mounts read-only into the official image.
|
storage-init ships in the SPK and mounts read-only into the official image. |
|
Package-account supervisor for one fixed foreground executable.
|
Package-account supervisor for one fixed foreground executable. |
|
Package datamigrate applies ordered, idempotent schema migrations to a package's data directory and records how far they have run.
|
Package datamigrate applies ordered, idempotent schema migrations to a package's data directory and records how far they have run. |
|
Code generated by scripts/admission-limits.mjs from executor/root_run.go.
|
Code generated by scripts/admission-limits.mjs from executor/root_run.go. |
|
delegatetest
Package delegatetest serves a fake package executor on a Unix socket, for an App's end-to-end tests: pass Executor.Socket as bridge.Config's ExecutorSocket (or a delegate.Client's Socket) and the runtime's root.* and delegate.* calls reach reply instead of the executor at /run/synopkgland/<package>/executor.sock, without root and on macOS.
|
Package delegatetest serves a fake package executor on a Unix socket, for an App's end-to-end tests: pass Executor.Socket as bridge.Config's ExecutorSocket (or a delegate.Client's Socket) and the runtime's root.* and delegate.* calls reach reply instead of the executor at /run/synopkgland/<package>/executor.sock, without root and on macOS. |
|
Package dsm verifies the DSM login behind a package CGI request.
|
Package dsm verifies the DSM login behind a package CGI request. |
|
Package dsmservices reads the service definitions DSM's firewall and port forwarding use: INI files with one section per service, written by DSM itself (/usr/syno/etc/services.d, rewritten when the administrator changes a DSM port), by packages and by Container Manager (/usr/local/etc/services.d).
|
Package dsmservices reads the service definitions DSM's firewall and port forwarding use: INI files with one section per service, written by DSM itself (/usr/syno/etc/services.d, rewritten when the administrator changes a DSM port), by packages and by Container Manager (/usr/local/etc/services.d). |
|
executor
module
|
|
|
Package filestation retains typed file contracts and custom authorized adapters.
|
Package filestation retains typed file contracts and custom authorized adapters. |
|
Package identity implements standalone identity only.
|
Package identity implements standalone identity only. |
|
Package idgateway signs DSM users in to a packaged web app without a separate sign-in.
|
Package idgateway signs DSM users in to a packaged web app without a separate sign-in. |
|
cmd/gateway
command
Command gateway is the DSM identity gateway of a package.
|
Command gateway is the DSM identity gateway of a package. |
|
Package installsettings owns package-account installation configuration.
|
Package installsettings owns package-account installation configuration. |
|
cmd/control
command
|
|
|
internal
|
|
|
composeimages
Package composeimages records which locked container images this package has already run.
|
Package composeimages records which locked container images this package has already run. |
|
composeingress
Package composeingress defines the fixed, package-scoped no-publish endpoint.
|
Package composeingress defines the fixed, package-scoped no-publish endpoint. |
|
containerpreflight
Package containerpreflight checks read-only DSM container availability as the package account.
|
Package containerpreflight checks read-only DSM container availability as the package account. |
|
delegategen
command
Command delegategen generates the App-facing Go and TypeScript delegate DTOs.
|
Command delegategen generates the App-facing Go and TypeScript delegate DTOs. |
|
dsmverify
Package dsmverify classifies temporary failures of read-only DSM checks.
|
Package dsmverify classifies temporary failures of read-only DSM checks. |
|
externalorigin
Package externalorigin validates literal public origins without DNS or HTTP.
|
Package externalorigin validates literal public origins without DNS or HTTP. |
|
hostudp
Package hostudp validates explicit package-UID host UDP listener exceptions.
|
Package hostudp validates explicit package-UID host UDP listener exceptions. |
|
identityroute
Package identityroute restricts public ceremony markers to SDK assembly.
|
Package identityroute restricts public ceremony markers to SDK assembly. |
|
memoryexec
Package memoryexec stages legacy native bridges without persistent writes.
|
Package memoryexec stages legacy native bridges without persistent writes. |
|
pkgstate
Package pkgstate resolves DSM-owned package data during installation.
|
Package pkgstate resolves DSM-owned package data during installation. |
|
runtimebudget
Package runtimebudget derives work deadlines without changing authority lifetimes.
|
Package runtimebudget derives work deadlines without changing authority lifetimes. |
|
specgen
command
Command specgen copies spec/protocol/v1 into package delegate: the error catalog becomes Go constants and the vectors become test data.
|
Command specgen copies spec/protocol/v1 into package delegate: the error catalog becomes Go constants and the vectors become test data. |
|
startupbudget
Package startupbudget holds the shared container startup contract.
|
Package startupbudget holds the shared container startup contract. |
|
wirelimits
Code generated by scripts/protocol-limits.mjs.
|
Code generated by scripts/protocol-limits.mjs. |
|
Package ipc serves private HTTP IPC for the non-root package account and reserves loopback ports for supervised children.
|
Package ipc serves private HTTP IPC for the non-root package account and reserves loopback ports for supervised children. |
|
Package jsonlimits bounds JSON complexity before a decoder allocates values.
|
Package jsonlimits bounds JSON complexity before a decoder allocates values. |
|
Package media serves private assets to native audio/video elements without placing DSM credentials in URLs.
|
Package media serves private assets to native audio/video elements without placing DSM credentials in URLs. |
|
Package notify sends App-owned notifications as the package account.
|
Package notify sends App-owned notifications as the package account. |
|
Package outbound restricts untrusted HTTP destinations to public networks.
|
Package outbound restricts untrusted HTTP destinations to public networks. |
|
Package portal reads the DSM Application Portal alias an administrator set for this package.
|
Package portal reads the DSM Application Portal alias an administrator set for this package. |
|
Package secret provides request-only credentials and safe diagnostic values.
|
Package secret provides request-only credentials and safe diagnostic values. |
|
Package selfrestart owns admission and durable readback for a fixed package restart.
|
Package selfrestart owns admission and durable readback for a fixed package restart. |
|
Package sharedfolder tells an App which Shared Folders the install wizard stored and what the package account may do in each.
|
Package sharedfolder tells an App which Shared Folders the install wizard stored and what the package account may do in each. |
|
Package sqlitefile prepares directories for App-owned SQLite databases and provides driver-independent conversion and maintenance helpers.
|
Package sqlitefile prepares directories for App-owned SQLite databases and provides driver-independent conversion and maintenance helpers. |
|
Package sqlitestore manages a file-backed SQLite store with one serialized writer and separate read-only database/sql pools.
|
Package sqlitestore manages a file-backed SQLite store with one serialized writer and separate read-only database/sql pools. |
|
Package supervision supplies the restart decision shared by package daemons and their provider children.
|
Package supervision supplies the restart decision shared by package daemons and their provider children. |
Click to show internal directories.
Click to hide internal directories.