Documentation ¶
Index ¶
Constants ¶
View Source
const (
// AzureBlobBlockChunkLimitInBytes 100MiB is the limit
AzureBlobBlockChunkLimitInBytes = 100 * 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer interface { // Write writes a backup file to the given path and returns size of written file. Write(ctx context.Context, path string, r io.Reader) (int64, error) // List backup files List(ctx context.Context, basePath string) ([]string, error) // Delete a backup file Delete(ctx context.Context, path string) error }
Writer defines the required writer operations.
func NewABSWriter ¶
func NewABSWriter(abs *storage.BlobStorageClient) Writer
NewABSWriter creates a abs writer.
func NewGCSWriter ¶
NewGCSWriter creates a gcs writer.
Click to show internal directories.
Click to hide internal directories.