writer

package
v0.0.0-...-ba674e6 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 11 Imported by: 0

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)
}

Writer defines the required writer operations.

func NewABSWriter

func NewABSWriter(abs *storage.BlobStorageClient) Writer

NewABSWriter creates a abs writer.

func NewS3Writer

func NewS3Writer(s3 *s3.S3) Writer

NewS3Writer creates a s3 writer.

Jump to

Keyboard shortcuts

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