*: change Protocol Buffer documentation title
This commit is contained in:
parent
fdf6335416
commit
2751a10db6
@ -1,47 +1,4 @@
|
|||||||
### Protocol Buffer API
|
### etcd API Reference
|
||||||
|
|
||||||
|
|
||||||
##### message `Lease` (lease/leasepb/lease.proto)
|
|
||||||
|
|
||||||
| Field | Description | Type |
|
|
||||||
| ----- | ----------- | ---- |
|
|
||||||
| ID | | int64 |
|
|
||||||
| TTL | | int64 |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### message `Permission` (auth/authpb/auth.proto)
|
|
||||||
|
|
||||||
Permission is a single entity
|
|
||||||
|
|
||||||
| Field | Description | Type |
|
|
||||||
| ----- | ----------- | ---- |
|
|
||||||
| key | | bytes |
|
|
||||||
| permType | | Type |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### message `Role` (auth/authpb/auth.proto)
|
|
||||||
|
|
||||||
Role is a single entry in the bucket authRoles
|
|
||||||
|
|
||||||
| Field | Description | Type |
|
|
||||||
| ----- | ----------- | ---- |
|
|
||||||
| name | | bytes |
|
|
||||||
| keyPermission | | (slice of) Permission |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### message `User` (auth/authpb/auth.proto)
|
|
||||||
|
|
||||||
User is a single entry in the bucket authUsers
|
|
||||||
|
|
||||||
| Field | Description | Type |
|
|
||||||
| ----- | ----------- | ---- |
|
|
||||||
| name | | bytes |
|
|
||||||
| password | | bytes |
|
|
||||||
| roles | | (slice of) string |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### service `Auth` (etcdserver/etcdserverpb/rpc.proto)
|
##### service `Auth` (etcdserver/etcdserverpb/rpc.proto)
|
||||||
@ -769,3 +726,46 @@ From google paxosdb paper: Our implementation hinges around a powerful primitive
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##### message `Lease` (lease/leasepb/lease.proto)
|
||||||
|
|
||||||
|
| Field | Description | Type |
|
||||||
|
| ----- | ----------- | ---- |
|
||||||
|
| ID | | int64 |
|
||||||
|
| TTL | | int64 |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##### message `Permission` (auth/authpb/auth.proto)
|
||||||
|
|
||||||
|
Permission is a single entity
|
||||||
|
|
||||||
|
| Field | Description | Type |
|
||||||
|
| ----- | ----------- | ---- |
|
||||||
|
| key | | bytes |
|
||||||
|
| permType | | Type |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##### message `Role` (auth/authpb/auth.proto)
|
||||||
|
|
||||||
|
Role is a single entry in the bucket authRoles
|
||||||
|
|
||||||
|
| Field | Description | Type |
|
||||||
|
| ----- | ----------- | ---- |
|
||||||
|
| name | | bytes |
|
||||||
|
| keyPermission | | (slice of) Permission |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##### message `User` (auth/authpb/auth.proto)
|
||||||
|
|
||||||
|
User is a single entry in the bucket authUsers
|
||||||
|
|
||||||
|
| Field | Description | Type |
|
||||||
|
| ----- | ----------- | ---- |
|
||||||
|
| name | | bytes |
|
||||||
|
| password | | bytes |
|
||||||
|
| roles | | (slice of) string |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ if [ "$1" = "-g" ]; then
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
protodoc --directories="etcdserver/etcdserverpb=service_message,storage/storagepb=service_message,lease/leasepb=service_message,auth/authpb=service_message" \
|
protodoc --directories="etcdserver/etcdserverpb=service_message,storage/storagepb=service_message,lease/leasepb=service_message,auth/authpb=service_message" \
|
||||||
--title="Protocol Buffer API" \
|
--title="etcd API Reference" \
|
||||||
--output="Documentation/api_reference_v3.md" \
|
--output="Documentation/api_reference_v3.md" \
|
||||||
--message-only-from-this-file="etcdserver/etcdserverpb/rpc.proto"
|
--message-only-from-this-file="etcdserver/etcdserverpb/rpc.proto"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user