Update donut-metadata.md formatting changes

master
Harshavardhana 9 years ago
parent bae43ccbc7
commit 96bc95c952
  1. 65
      donut-metadata.md

@ -1,21 +1,22 @@
##### Users Collection ##### Users Collection
```json ```js
minio: {
version: 1, "minio": {
users: [{ "version": 1,
secret-key: string, "users": [{
access-key: string, "secret-key": string,
status: string // enum: ok, disabled, deleted "access-key": string,
"status": string // enum: ok, disabled, deleted
}], }],
hosts: [{ "hosts": [{
address: string, "address": string,
uuid: string, "uuid": string,
status: string, // enum: ok, disabled, deleted, busy, offline, "status": string, // enum: ok, disabled, deleted, busy, offline,
disks: [{ "disks": [{
disk: string, "disk": string,
uuid: string, "uuid": string,
status: string // ok, offline, disabled, busy "status": string // ok, offline, disabled, busy
}] }]
}] }]
} }
@ -23,32 +24,32 @@ minio: {
##### Bucket Collection ##### Bucket Collection
```json ```js
buckets: { "buckets": {
bucket: string, // index "bucket": string, // index
permissions: string, "permissions": string,
deleted: bool "deleted": bool
} }
``` ```
##### Object Collection ##### Object Collection
```json ```js
objects: { "objects": {
key: string, // index "key": string, // index
createdAt: Date, "createdAt": Date,
hosts[16]: [{ "hosts[16]": [{
host: string, "host": string,
disk: string, "disk": string,
}] }]
deleted: bool "deleted": bool
} }
``` ```
```json ```js
meta: { "meta": {
key: string, // index "key": string, // index
type: string // content-type "type": string // content-type
// type speific meta // type speific meta
} }
``` ```

Loading…
Cancel
Save