internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0

Directories

Path Synopsis
Role-gated space authorization (remediation R3).
Role-gated space authorization (remediation R3).
Package backup orchestrates one backup run:
Package backup orchestrates one backup run:
Package buildinfo says which build of the plugin is running.
Package buildinfo says which build of the plugin is running.
Package bundleinstall copies the web extension's bundle out of its image into the volume OpenCloud loads extensions from.
Package bundleinstall copies the web extension's bundle out of its image into the volume OpenCloud loads extensions from.
Package cli holds what the command-line programs (backupd, takeout, decrypt, install-bundle) agree on: how flags are parsed and what the exit status means.
Package cli holds what the command-line programs (backupd, takeout, decrypt, install-bundle) agree on: how flags are parsed and what the exit status means.
Package config is the machinery the binaries read their environment with (review-2026-10.md G4).
Package config is the machinery the binaries read their environment with (review-2026-10.md G4).
configtest
Package configtest holds the checks every binary's configuration must pass, so each binary states them in one line rather than copying them.
Package configtest holds the checks every binary's configuration must pass, so each binary states them in one line rather than copying them.
Concrete SpaceReader against the OpenCloud/Reva CS3 gateway (phase-2 deliverable 2).
Concrete SpaceReader against the OpenCloud/Reva CS3 gateway (phase-2 deliverable 2).
Package cs3state stores the service's own state inside OpenCloud, over CS3.
Package cs3state stores the service's own state inside OpenCloud, over CS3.
Package instance makes the single-instance constraint visible.
Package instance makes the single-instance constraint visible.
Package jobs defines the job/state store: a record per backup/restore/prune run and its lifecycle state, plus the per-Space lock that keeps two runs for the same Space from overlapping.
Package jobs defines the job/state store: a record per backup/restore/prune run and its lifecycle state, plus the per-Space lock that keeps two runs for the same Space from overlapping.
Package keystore is the durable keys.Store, on top of internal/state.
Package keystore is the durable keys.Store, on top of internal/state.
Package notify tells people when their backups need attention.
Package notify tells people when their backups need attention.
Package objstore is a minimal object-store boundary for the few things this service stores next to — but not inside — a kopia repository.
Package objstore is a minimal object-store boundary for the few things this service stores next to — but not inside — a kopia repository.
Package ocversion knows which OpenCloud versions this plugin is tested against.
Package ocversion knows which OpenCloud versions this plugin is tested against.
Package publicapi holds the test that keeps the public packages self-contained.
Package publicapi holds the test that keeps the public packages self-contained.
Package restore implements restore Path B: a user restoring their own Space from a snapshot, back into OpenCloud (decisions.md, "Restore paths").
Package restore implements restore Path B: a user restoring their own Space from a snapshot, back into OpenCloud (decisions.md, "Restore paths").
Package rotate re-wraps stored ciphertext under a new custody key.
Package rotate re-wraps stored ciphertext under a new custody key.
Package scheduler turns "back up my data" into "backed up while everyone sleeps": it decides which Spaces are due, starts their unattended runs, applies their retention windows, and keeps run history from growing forever.
Package scheduler turns "back up my data" into "backed up while everyone sleeps": it decides which Spaces are due, starts their unattended runs, applies their retention windows, and keeps run history from growing forever.
Package snapshot wraps kopia (as a library) into a repo-per-Space lifecycle: snapshot, restore (full and single-file), and time-based prune.
Package snapshot wraps kopia (as a library) into a repo-per-Space lifecycle: snapshot, restore (full and single-file), and time-based prune.
s3repo
Package s3repo is the production snapshot.StorageOpener: kopia's S3 driver pointed at a resolved target.
Package s3repo is the production snapshot.StorageOpener: kopia's S3 driver pointed at a resolved target.
Package spacecfg holds the per-Space backup configuration: which target a Space backs up to and how deep its retention window is.
Package spacecfg holds the per-Space backup configuration: which target a Space backs up to and how deep its retention window is.
Package state is the service's durable document store: opaque values filed under slash-separated keys, plus a typed JSON view over them.
Package state is the service's durable document store: opaque values filed under slash-separated keys, plus a typed JSON view over them.
statetest
Package statetest holds the behavioural contract every state.Store must satisfy, so a second implementation cannot quietly differ from the one the rest of the test suite exercises.
Package statetest holds the behavioural contract every state.Store must satisfy, so a second implementation cannot quietly differ from the one the rest of the test suite exercises.
takeout
remote
Package remote is the target-facing half of the Take-Out: publishing a Space's key envelopes to the S3 target during a backup, and extracting a Space's ciphertext from it into a Take-Out directory (Path A, step 1).
Package remote is the target-facing half of the Take-Out: publishing a Space's key envelopes to the S3 target during a backup, and extracting a Space's ciphertext from it into a Take-Out directory (Path A, step 1).
In-memory Store + Authorizer for the target/grant model.
In-memory Store + Authorizer for the target/grant model.
Package testutil provides reusable integration-test fixtures.
Package testutil provides reusable integration-test fixtures.

Jump to

Keyboard shortcuts

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