mirror of
https://github.com/TronoSfera/backupy-agent.git
synced 2026-05-19 02:23:30 +03:00
Source ports from the TronoSfera/backupy-cloud monorepo:
- apps/agent/ — Go agent (WSS client, persistent queue, Docker
discovery, 5 DB drivers: PG/MySQL/Mongo/Redis/SQLite,
pre/post hooks, Prometheus metrics)
- apps/backupy-decrypt/ — standalone CLI for client-side decryption
- packages/proto/ — protobuf wire format (generated .pb.go committed
so the repo builds without protoc)
- docs/ — agent spec + wire-protocol contract
Apache-2.0 license. Image published to ghcr.io/tronosfera/backupy-agent
on every v* tag via .github/workflows/release.yml (multi-arch amd64+arm64).
31 lines
1.1 KiB
Modula-2
31 lines
1.1 KiB
Modula-2
module github.com/backupy/backupy/apps/backupy-decrypt
|
|
|
|
go 1.22
|
|
|
|
require (
|
|
github.com/klauspost/compress v1.17.9
|
|
github.com/stretchr/testify v1.9.0
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
google.golang.org/protobuf v1.34.2 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|
|
|
|
// Integration tests (build tag: integration) cross-link to the agent's
|
|
// pipeline package to prove the encrypt/decrypt formats match byte-for-byte.
|
|
// The replace directives point at local sibling modules; the requires
|
|
// use the zero-version pseudo-tag that go-mod accepts for replace targets.
|
|
// The proto/gen replace must be declared here too because Go's module
|
|
// resolution does not transitively honour the agent module's own replace.
|
|
require (
|
|
github.com/backupy/backupy/apps/agent v0.0.0-00010101000000-000000000000
|
|
github.com/backupy/backupy/packages/proto/gen/go/backupv1 v0.0.0-00010101000000-000000000000 // indirect
|
|
)
|
|
|
|
replace (
|
|
github.com/backupy/backupy/apps/agent => ../agent
|
|
github.com/backupy/backupy/packages/proto/gen/go/backupv1 => ../../packages/proto/gen/go/backupv1
|
|
)
|