|
@@ -1,47 +1,4 @@
|
|
|
-### Protocol Buffer API
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-##### 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 |
|
|
|
|
|
-
|
|
|
|
|
|
|
+### etcd API Reference
|
|
|
|
|
|
|
|
|
|
|
|
|
##### 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 |
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|