minio/pkg/storage/donut/bucketdriver.go
2015-03-22 00:40:21 -07:00

15 lines
255 B
Go

package donut
type bucketDriver struct {
nodes []string
objects map[string][]byte
}
func (self bucketDriver) GetNodes() ([]string, error) {
var nodes []string
for _, node := range self.nodes {
nodes = append(nodes, node)
}
return nodes, nil
}