minio/pkg/storage/donut/bucketdriver.go

15 lines
249 B
Go
Raw Normal View History

package donut
type bucketDriver struct {
nodes []string
objects map[string][]byte
}
2015-03-22 05:53:21 -04:00
func (b bucketDriver) GetNodes() ([]string, error) {
var nodes []string
2015-03-22 05:53:21 -04:00
for _, node := range b.nodes {
nodes = append(nodes, node)
}
return nodes, nil
}