Merge remote-tracking branch 'origin/main' into feat-list-tags-of-machines

This commit is contained in:
Adrien Raffin-Caboisse 2022-05-03 20:35:28 +02:00
commit a2fb5b2b9d
No known key found for this signature in database
GPG key ID: 7FB60532DEBEAD6A
32 changed files with 1326 additions and 673 deletions

View file

@ -111,6 +111,12 @@ service HeadscaleService {
get: "/api/v1/machine"
};
}
rpc MoveMachine(MoveMachineRequest) returns (MoveMachineResponse) {
option (google.api.http) = {
post: "/api/v1/machine/{machine_id}/namespace"
};
}
// --- Machine end ---
// --- Route start ---

View file

@ -94,6 +94,15 @@ message ListMachinesResponse {
repeated Machine machines = 1;
}
message MoveMachineRequest {
uint64 machine_id = 1;
string namespace = 2;
}
message MoveMachineResponse {
Machine machine = 1;
}
message DebugCreateMachineRequest {
string namespace = 1;
string key = 2;