Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressed ¶
type Compressed Storage
Compressed stores data using a specified compression system
func (Compressed) StoreFiles ¶
func (store Compressed) StoreFiles(data *StorageData) error
StoreFiles to a target location in a compressed format
type GoogleCloud ¶
type GoogleCloud struct {
BucketName string
}
GoogleCloud is the implementation of Google's cloud storage system that uploads data to bucket locations
func (GoogleCloud) Upload ¶
func (cloud GoogleCloud) Upload(data *StorageData) error
Upload uploads data to a specified Google cloud bucket
type Storage ¶
type Storage struct { StorageSystem StorageSystem Compression compressor.Compression }
Storage is the abstraction for specifying operations and formats data will be stored
type StorageData ¶
StorageData is the data used inside the storehouse when running operations on data Source is the local location of the source data Target is the target archive file location and name
type StorageSystem ¶
type StorageSystem interface {
Upload(data *StorageData) error
}
StorageSystem is the implementation of the medium to use for storing files and folders
type StoreHouse ¶
type StoreHouse interface {
StoreFiles(data *StorageData) error
}
StoreHouse is the abstraction for uploading, downloading, and managing files/folders at a specified storage location