mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
23 lines
506 B
Protocol Buffer
23 lines
506 B
Protocol Buffer
syntax = "proto3";
|
|
package authpb;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
option (gogoproto.marshaler_all) = true;
|
|
option (gogoproto.sizer_all) = true;
|
|
option (gogoproto.unmarshaler_all) = true;
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
option (gogoproto.goproto_enum_prefix_all) = false;
|
|
|
|
// User is a single entry in the bucket authUsers
|
|
message User {
|
|
bytes name = 1;
|
|
bytes password = 2;
|
|
int64 tombstone = 3;
|
|
}
|
|
|
|
// Role is a single entry in the bucket authRoles
|
|
message Role {
|
|
bytes name = 2;
|
|
}
|