mirror of
https://github.com/pgsty/minio.git
synced 2026-09-26 04:45:59 +03:00
Adding donut backend and setting as default
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package donut
|
||||
|
||||
import "io"
|
||||
import (
|
||||
"io"
|
||||
)
|
||||
|
||||
// INTERFACES
|
||||
|
||||
@@ -21,6 +23,7 @@ type Bucket interface {
|
||||
|
||||
// Node interface
|
||||
type Node interface {
|
||||
CreateBucket(bucket string) error
|
||||
GetBuckets() ([]string, error)
|
||||
GetDonutMetadata(bucket, object string) (map[string]string, error)
|
||||
GetMetadata(bucket, object string) (map[string]string, error)
|
||||
|
||||
Reference in New Issue
Block a user