internal/

directory
v0.0.0-...-ac804c0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: Apache-2.0

Directories

Path Synopsis
Package backup wires the hosted-backup component stack from environment configuration.
Package backup wires the hosted-backup component stack from environment configuration.
auth
Package auth orchestrates the Hosted Backup login/logout/refresh/recover flows defined in docs/contracts/hosted-backup-contract.md §5–§6.
Package auth orchestrates the Hosted Backup login/logout/refresh/recover flows defined in docs/contracts/hosted-backup-contract.md §5–§6.
client
Package client provides a thin HTTP wrapper around the substrate Hosted Backup API.
Package client provides a thin HTTP wrapper around the substrate Hosted Backup API.
crypto
Package crypto implements the cryptographic primitives required by Endstate Hosted Backup as locked in docs/contracts/hosted-backup-contract.md (sections 1, 2, 3 and 6).
Package crypto implements the cryptographic primitives required by Endstate Hosted Backup as locked in docs/contracts/hosted-backup-contract.md (sections 1, 2, 3 and 6).
download
Package download orchestrates the chunked, encrypted download of a backup version from Endstate Hosted Backup.
Package download orchestrates the chunked, encrypted download of a backup version from Endstate Hosted Backup.
keychain
Package keychain provides a narrow Store/Load/Delete interface around the platform-native secret store.
Package keychain provides a narrow Store/Load/Delete interface around the platform-native secret store.
manifest
Package manifest models the encrypted-version manifest defined in docs/contracts/hosted-backup-contract.md §3 and the version-selection helpers used by `endstate backup pull`.
Package manifest models the encrypted-version manifest defined in docs/contracts/hosted-backup-contract.md §3 and the version-selection helpers used by `endstate backup pull`.
oidc
Package oidc fetches and caches the OIDC discovery document advertised by the substrate backend (or any self-host equivalent), validates the `endstate_extensions` block, and exposes the discovered endpoints + JWKS to the auth and client packages.
Package oidc fetches and caches the OIDC discovery document advertised by the substrate backend (or any self-host equivalent), validates the `endstate_extensions` block, and exposes the discovered endpoints + JWKS to the auth and client packages.
storage
Package storage wraps the substrate `/api/backups/*` API surface defined in docs/contracts/hosted-backup-contract.md §7.
Package storage wraps the substrate `/api/backups/*` API surface defined in docs/contracts/hosted-backup-contract.md §7.
upload
Package upload orchestrates the chunked, encrypted upload of a profile to Endstate Hosted Backup.
Package upload orchestrates the chunked, encrypted upload of a profile to Endstate Hosted Backup.
Package bundle provides zip-based profile bundle creation and extraction for the Endstate Go engine.
Package bundle provides zip-based profile bundle creation and extraction for the Endstate Go engine.
Package commands contains the handler implementations for each Endstate CLI command.
Package commands contains the handler implementations for each Endstate CLI command.
Package config provides version reading and path resolution for the Endstate Go engine.
Package config provides version reading and path resolution for the Endstate Go engine.
Package driver defines the abstract Driver interface used by all package manager adapters (e.g.
Package driver defines the abstract Driver interface used by all package manager adapters (e.g.
winget
Package winget implements the driver.Driver interface for Windows Package Manager (winget).
Package winget implements the driver.Driver interface for Windows Package Manager (winget).
Package envelope provides the standard JSON output envelope for Endstate CLI commands as defined in the CLI JSON Contract v1.0.
Package envelope provides the standard JSON output envelope for Endstate CLI commands as defined in the CLI JSON Contract v1.0.
Package events provides NDJSON streaming event emission for the Endstate engine as defined in docs/contracts/event-contract.md.
Package events provides NDJSON streaming event emission for the Endstate engine as defined in docs/contracts/event-contract.md.
Package manifest provides JSONC manifest loading, include resolution, and profile validation for the Endstate engine.
Package manifest provides JSONC manifest loading, include resolution, and profile validation for the Endstate engine.
Package modules provides config module catalog loading, app matching, and manifest expansion for the Endstate Go engine.
Package modules provides config module catalog loading, app matching, and manifest expansion for the Endstate Go engine.
Package planner computes a declarative plan by detecting each app in a manifest against the current system state via the driver interface.
Package planner computes a declarative plan by detecting each app in a manifest against the current system state via the driver interface.
Package restore implements restore strategies (copy, merge-json, merge-ini, append, delete-glob), backup creation, journaling, and revert for the Endstate Go engine.
Package restore implements restore strategies (copy, merge-json, merge-ini, append, delete-glob), backup creation, journaling, and revert for the Endstate Go engine.
Package snapshot captures the current system state by running winget list and parsing the tabular output into structured SnapshotApp entries.
Package snapshot captures the current system state by running winget list and parsing the tabular output into structured SnapshotApp entries.
Package state provides persistence for Endstate engine run state and history.
Package state provides persistence for Endstate engine run state and history.
Package verifier provides state assertion checkers for the Endstate verify pipeline.
Package verifier provides state assertion checkers for the Endstate verify pipeline.

Jump to

Keyboard shortcuts

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