minio/pkg/donut/donut-metadata.md

56 lines
918 B
Markdown
Raw Normal View History

2015-09-09 00:32:55 -04:00
##### Users Collection
```js
"minio": {
"version": 1,
"users": [{
2015-09-09 01:27:20 -04:00
"secretAccessKey": String,
"accessKeyId": String,
"status": String // enum: ok, disabled, deleted
2015-09-09 00:32:55 -04:00
}],
"hosts": [{
2015-09-09 01:27:20 -04:00
"address": String,
"uuid": String,
"status": String, // enum: ok, disabled, deleted, busy, offline.
"disks": [{
2015-09-09 01:27:20 -04:00
"disk": String,
"uuid": String,
"status": String // ok, offline, disabled, busy.
2015-09-09 00:32:55 -04:00
}]
}]
}
```
##### Bucket Collection
```js
"buckets": {
2015-09-09 01:27:20 -04:00
"bucket": String, // index
"deleted": Boolean,
"permissions": String
2015-09-09 00:32:55 -04:00
}
```
##### Object Collection
```js
"objects": {
2015-09-09 01:27:20 -04:00
"key": String, // index
"createdAt": Date,
"hosts[16]": [{
2015-09-09 01:27:20 -04:00
"host": String,
"disk": String,
}],
"deleted": Boolean
2015-09-09 00:32:55 -04:00
}
```
```js
"meta": {
2015-09-09 01:27:20 -04:00
"key": String, // index
"type": String // content-type
2015-09-09 00:32:55 -04:00
// type speific meta
}
```