mirror of
https://github.com/minio/minio.git
synced 2025-02-09 12:48:08 -05:00
Merge pull request #819 from harshavardhana/donut-metadata
Add donut metadata configs
This commit is contained in:
commit
bae43ccbc7
54
donut-metadata.md
Normal file
54
donut-metadata.md
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
##### Users Collection
|
||||||
|
|
||||||
|
```json
|
||||||
|
minio: {
|
||||||
|
version: 1,
|
||||||
|
users: [{
|
||||||
|
secret-key: string,
|
||||||
|
access-key: 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
|
||||||
|
|
||||||
|
```json
|
||||||
|
buckets: {
|
||||||
|
bucket: string, // index
|
||||||
|
permissions: string,
|
||||||
|
deleted: bool
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Object Collection
|
||||||
|
|
||||||
|
```json
|
||||||
|
objects: {
|
||||||
|
key: string, // index
|
||||||
|
createdAt: Date,
|
||||||
|
hosts[16]: [{
|
||||||
|
host: string,
|
||||||
|
disk: string,
|
||||||
|
}]
|
||||||
|
deleted: bool
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
```json
|
||||||
|
meta: {
|
||||||
|
key: string, // index
|
||||||
|
type: string // content-type
|
||||||
|
// type speific meta
|
||||||
|
}
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user