writer

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: Apache-2.0 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 added in v0.8.4

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