Adding donut backend and setting as default

This commit is contained in:
Frederick F. Kautz IV
2015-03-23 20:06:15 -07:00
parent 7c1c4b8a02
commit 3c4012f1e7
11 changed files with 254 additions and 34 deletions

View File

@@ -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)