reader

package
v0.0.0-...-9a5d330 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	// Open opens up a backup file for reading.
	Open(path string) (rc io.ReadCloser, err error)
}

Reader defines required reader operations

func NewABSReader

func NewABSReader(abs *storage.BlobStorageClient) Reader

NewABSReader return a Reader implementation to read a file from ABS in the form of absReader

func NewS3Reader

func NewS3Reader(s3 *s3.S3) Reader

Jump to

Keyboard shortcuts

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