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 NewGCSReader ¶
NewGCSReader return a Reader implementation to read a file from GCS in the form of gcsReader
func NewOSSReader ¶
NewOSSReader return a Reader implementation to read a file from OSS in the form of ossReader
func NewS3Reader ¶
Click to show internal directories.
Click to hide internal directories.