minio/pkg/donut/donut-metadata.md
2015-10-08 22:28:11 -07:00

918 B

Users Collection

"minio": {
    "version": 1,
    "users": [{
    	"secretAccessKey": String,
    	"accessKeyId": String,
    	"status": String // enum: ok, disabled, deleted
    }],
    "hosts": [{
    	"address": String,
    	"uuid": String,
    	"status": String, // enum: ok, disabled, deleted, busy, offline.
    	"disks": [{
        		"disk": String,
        		"uuid": String,
        		"status": String // ok, offline, disabled, busy.
        }]
    }]
}
Bucket Collection
"buckets": {
    "bucket": String, // index
    "deleted": Boolean,
    "permissions": String
}
Object Collection
"objects": {
    "key": String, // index
    "createdAt": Date,
    "hosts[16]": [{
    	"host": String,
    	"disk": String,
    }],
    "deleted": Boolean
}
"meta": {
    "key": String, // index
    "type": String // content-type
    // type speific meta
}