Implement bucket policy handler and with galore of cleanup

This commit is contained in:
Harshavardhana committed 2015-02-16 18:20:40 -08:00
1 parent 7d8c34e055
commit eeae64935e
18 files changed
+827 -407

No files matched your search

+3 -1
View File
@@ -24,8 +24,10 @@ import (
type Storage interface {
// Bucket Operations
ListBuckets(prefix string) ([]BucketMetadata, error)
ListBuckets() ([]BucketMetadata, error)
StoreBucket(bucket string) error
StoreBucketPolicy(bucket string, policy interface{}) error
GetBucketPolicy(bucket string) (interface{}, error)
// Object Operations
CopyObjectToWriter(w io.Writer, bucket string, object string) (int64, error)