package
0.3.0-pre2
Repository: https://github.com/kopia/repo.git
Documentation: pkg.go.dev

# Packages

Package filesystem implements filesystem-based Storage.
Package gcs implements Storage based on Google Cloud Storage bucket.
Package logging implements wrapper around Storage that logs all activity.
Package providers registers all storage providers that are included as part of Kopia.
Package s3 implements Storage based on an S3 bucket.
Package webdav implements WebDAV-based Storage.

# Functions

AddSupportedStorage registers factory function to create storage with a given type name.
ListAllBlocks returns BlockMetadata for all blocks in a given storage that have the provided name prefix.
ListAllBlocksConsistent lists all blocks with given name prefix in the provided storage until the results are consistent.
NewStorage creates new storage based on ConnectionInfo.
ProgressCallback gets the progress callback function from the context.
WithUploadProgressCallback returns a context that passes callback function to be used storage upload progress.

# Variables

ErrBlockNotFound is returned when a block cannot be found in storage.

# Structs

BlockMetadata represents metadata about a single block in a storage.
ConnectionInfo represents JSON-serializable configuration of a blob storage.

# Interfaces

Storage encapsulates API for connecting to blob storage.

# Type aliases

CancelFunc requests cancellation of a storage operation.
ProgressFunc is used to report progress of a long-running storage operation.