mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-03-31 15:07:49 +01:00
feat: add command to set name of a machine
This commit is contained in:
@@ -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) {}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user