cloud drive: add createBucket() deleteBucket()

This commit is contained in:
Chris Lu
2021-09-03 22:30:55 -07:00
parent 03a31587ce
commit 0652805236
7 changed files with 238 additions and 119 deletions

View File

@@ -80,6 +80,8 @@ type RemoteStorageClient interface {
UpdateFileMetadata(loc *remote_pb.RemoteStorageLocation, oldEntry *filer_pb.Entry, newEntry *filer_pb.Entry) (err error)
DeleteFile(loc *remote_pb.RemoteStorageLocation) (err error)
ListBuckets() ([]*Bucket, error)
CreateBucket(name string) (err error)
DeleteBucket(name string) (err error)
}
type RemoteStorageClientMaker interface {