internal/

directory
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package cli wires the gitdr subcommands (backup, restore, verify, doctor) over the stdlib flag package.
Package cli wires the gitdr subcommands (backup, restore, verify, doctor) over the stdlib flag package.
Package config loads configuration with precedence defaults < YAML < GITDR_* env.
Package config loads configuration with precedence defaults < YAML < GITDR_* env.
Package crypto provides the integrity and signing primitives gitdr relies on: SHA-256 checksums for every artifact and Ed25519 signatures for the run-manifest.
Package crypto provides the integrity and signing primitives gitdr relies on: SHA-256 checksums for every artifact and Ed25519 signatures for the run-manifest.
Package dest defines the create-only Destination interface implemented by every storage backend (S3 and S3-compatible; GCS and Azure later).
Package dest defines the create-only Destination interface implemented by every storage backend (S3 and S3-compatible; GCS and Azure later).
azure
Package azure implements the create-only Destination for Azure Blob Storage.
Package azure implements the create-only Destination for Azure Blob Storage.
gcs
Package gcs implements the create-only Destination for Google Cloud Storage.
Package gcs implements the create-only Destination for Google Cloud Storage.
s3
Package s3 implements the Destination interface for S3 and S3-compatible stores (AWS, MinIO, Wasabi, Backblaze B2, IDrive).
Package s3 implements the Destination interface for S3 and S3-compatible stores (AWS, MinIO, Wasabi, Backblaze B2, IDrive).
Package gitexec wraps the system git binary.
Package gitexec wraps the system git binary.
Package logging builds the structured logger used across gitdr.
Package logging builds the structured logger used across gitdr.
Package metrics emits gitdr's run metrics in Prometheus text-exposition format to a file that node_exporter's textfile collector scrapes.
Package metrics emits gitdr's run metrics in Prometheus text-exposition format to a file that node_exporter's textfile collector scrapes.
Package pipeline orchestrates a backup run: WORM check -> enumerate -> per repo (clone --mirror, bundle, checksum, immutable upload) -> signed run-manifest.
Package pipeline orchestrates a backup run: WORM check -> enumerate -> per repo (clone --mirror, bundle, checksum, immutable upload) -> signed run-manifest.
Package redact provides a string type for secrets that refuses to reveal itself in logs, errors, JSON/YAML, or fmt output.
Package redact provides a string type for secrets that refuses to reveal itself in logs, errors, JSON/YAML, or fmt output.
Package source defines the read-only Source interface implemented by every VCS backend (GitHub, GHES, GitLab, ...).
Package source defines the read-only Source interface implemented by every VCS backend (GitHub, GHES, GitLab, ...).
github
Package github implements the read-only Source for GitHub.com (and, by base URL, GitHub Enterprise Server).
Package github implements the read-only Source for GitHub.com (and, by base URL, GitHub Enterprise Server).
gitlab
Package gitlab implements the read-only Source for GitLab.com and self-managed GitLab.
Package gitlab implements the read-only Source for GitLab.com and self-managed GitLab.

Jump to

Keyboard shortcuts

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