UNPKG

node_storage_manager

Version:

Node - Storage Pipe Manager allows world-wide storage and retrieval of any amount of data at any time. You can use Google Cloud Storage, AWS S3 Bucket for a range of scenarios including serving website content, storing data for archival and disaster recov

30 lines (27 loc) 793 B
class StorageSystem { upload() { throw new Error('concrete implementation should be used'); } download() { throw new Error('concrete implementation should be used'); } deleteFile(){ throw new Error('concrete implementation should be used'); } getBucketMetadata(){ throw new Error('concrete implementation should be used'); } createBucket(){ throw new Error('concrete implementation should be used'); } deleteBucket(){ throw new Error('concrete implementation should be used'); } listBuckets(){ throw new Error('concrete implementation should be used'); } listFiles(){ throw new Error('concrete implementation should be used'); } } module.exports = StorageSystem;