mirror of
https://github.com/minio/minio.git
synced 2026-11-11 06:29:05 +00:00
Implement bucket policy handler and with galore of cleanup
This commit is contained in:
1 parent
7d8c34e055
commit
eeae64935e
18 files changed
+827
-407
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user