package
0.0.0-20240726205954-93d05801347e
Repository: https://github.com/wplapper/restic.git
Documentation: pkg.go.dev
# Functions
AddKey adds a new key to an already existing repository.
AsS3Backend extracts the S3 backend from a repository TODO remove me once restic 0.17 was released.
No description provided by the author
CheckPack reads a pack and checks the integrity of all blobs.
LoadKey loads a key from the backend.
No description provided by the author
New returns a new repository with backend be.
OpenKey tries do decrypt the key specified by name with the given password.
PlanPrune selects which files to rewrite and which to delete and which blobs to keep.
No description provided by the author
Repack takes a list of packs together with a list of blobs contained in these packs.
No description provided by the author
No description provided by the author
SearchKey tries to decrypt at most maxKeys keys in the backend with the given password.
No description provided by the author
TestBackend returns a fully configured in-memory backend.
No description provided by the author
No description provided by the author
TestOpenLocal opens a local repository.
TestRepository returns a repository initialized with a test password on an in-memory backend.
TestRepositoryWithBackend returns a repository initialized with a test password.
No description provided by the author
TestUseLowSecurityKDFParameters configures low-security KDF parameters for testing.
No description provided by the author
ZeroChunk computes and returns (cached) the ID of an all-zero chunk with size chunker.MinSize.
# Constants
Constants for the different compression levels.
Constants for the different compression levels.
Constants for the different compression levels.
Constants for the different compression levels.
No description provided by the author
KDFMemory limits the memory the KDF is allowed to use.
KDFTimeout specifies the maximum runtime for the KDF.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
ErrMaxKeysReached is returned when the maximum number of keys was checked and no key could be found.
ErrNoKeyFound is returned when no key for the repository could be decrypted.
No description provided by the author
No description provided by the author
# Structs
ErrPackData is returned if errors are discovered while verifying a packfile.
Key represents an encrypted master key for a repository.
No description provided by the author
PruneOptions collects all options for the cleanup command.
No description provided by the author
No description provided by the author
No description provided by the author
Repository is used to access a repository in a backend.
No description provided by the author
# Type aliases
CompressionMode configures if data should be compressed.
No description provided by the author
No description provided by the author