package
0.0.0-20230213000942-0ac389eb68b6
Repository: https://github.com/someone1/zfsbackup-go.git
Documentation: pkg.go.dev

# Functions

GetBackendForURI will try and parse the URI for a matching backend to use.
WithGoogleCloudStorageClient will override an GCS backend's underlying API client with the one provided.
WithS3Client will override an S3 backend's underlying API client with the one provided.
WithS3Uploader will override an S3 backend's underlying uploader client with the one provided.

# Constants

AWSS3BackendPrefix is the URI prefix used for the AWSS3Backend.
AzureBackendPrefix is the URI prefix used for the AzureBackend.
B2BackendPrefix is the URI prefix used for the B2Backend.
DeleteBackendPrefix is the URI prefix used for the DeleteBackend.
FileBackendPrefix is the URI prefix used for the FileBackend.
GoogleCloudStorageBackendPrefix is the URI prefix used for the GoogleCloudStorageBackend.
SSHBackendPrefix is the URI prefix used for the SSHBackend.

# Variables

ErrInvalidPrefix is returned when a backend destination is provided with a URI prefix that isn't registered.
ErrInvalidURI is returned when a backend determines that the provided URI is malformed/invalid.

# Structs

AWSS3Backend integrates with Amazon Web Services' S3.
AzureBackend integrates with Microsoft's Azure Storage Services.
B2Backend integrates with BackBlaze's B2 storage service.
BackendConfig holds values that relate to backend configurations.
DeleteBackend is a special Backend used to delete the files after they've been uploaded.
FileBackend provides a local destination storage option.
GoogleCloudStorageBackend integrates with Google Cloud Storage.
SSHBackend provides a ssh/sftp storage option.

# Interfaces

Backend is an interface type that defines the functions and functionality required for different backend implementations.
Option lets users inject functionality to specific backends.