feat: add command to set name of a machine

This commit is contained in:
Johan Siebens
2025-02-15 15:07:14 +01:00
parent 48bd29beba
commit 28c5ff2570
28 changed files with 1624 additions and 2597 deletions
+1
View File
@@ -59,6 +59,7 @@ service IonscaleService {
rpc GetMachine(GetMachineRequest) returns (GetMachineResponse) {}
rpc ListMachines(ListMachinesRequest) returns (ListMachinesResponse) {}
rpc SetMachineName(SetMachineNameRequest) returns (SetMachineNameResponse) {}
rpc AuthorizeMachine(AuthorizeMachineRequest) returns (AuthorizeMachineResponse) {}
rpc ExpireMachine(ExpireMachineRequest) returns (ExpireMachineResponse) {}
rpc DeleteMachine(DeleteMachineRequest) returns (DeleteMachineResponse) {}
+8
View File
@@ -48,6 +48,14 @@ message AuthorizeMachineRequest {
message AuthorizeMachineResponse {}
message SetMachineNameRequest {
uint64 machine_id = 1;
bool use_os_hostname = 2;
string name = 3;
}
message SetMachineNameResponse {}
message Machine {
uint64 id = 1;
string name = 2;