Rename namespace in protobuf files

While this truly breaks the point of the backwards compatible stuff with
protobuf, it does not seem worth it to attempt to glue together a
compatible API.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2023-01-17 17:50:52 +01:00 committed by Juan Font
parent af1ec5a593
commit 428d7c86ce
5 changed files with 142 additions and 143 deletions

View file

@ -5,7 +5,7 @@ option go_package = "github.com/juanfont/headscale/gen/go/v1";
import "google/protobuf/timestamp.proto";
message PreAuthKey {
string namespace = 1;
string user = 1;
string id = 2;
string key = 3;
bool reusable = 4;
@ -17,7 +17,7 @@ message PreAuthKey {
}
message CreatePreAuthKeyRequest {
string namespace = 1;
string user = 1;
bool reusable = 2;
bool ephemeral = 3;
google.protobuf.Timestamp expiration = 4;
@ -29,7 +29,7 @@ message CreatePreAuthKeyResponse {
}
message ExpirePreAuthKeyRequest {
string namespace = 1;
string user = 1;
string key = 2;
}
@ -37,7 +37,7 @@ message ExpirePreAuthKeyResponse {
}
message ListPreAuthKeysRequest {
string namespace = 1;
string user = 1;
}
message ListPreAuthKeysResponse {