You've already forked ionscale
mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-04-05 12:32:58 +01:00
feat: disable and enable key expiry
This commit is contained in:
@@ -51,7 +51,7 @@ service IonscaleService {
|
||||
rpc ListMachines (ListMachinesRequest) returns (ListMachinesResponse) {}
|
||||
rpc ExpireMachine(ExpireMachineRequest) returns (ExpireMachineResponse) {}
|
||||
rpc DeleteMachine(DeleteMachineRequest) returns (DeleteMachineResponse) {}
|
||||
|
||||
rpc SetMachineKeyExpiry(SetMachineKeyExpiryRequest) returns (SetMachineKeyExpiryResponse) {}
|
||||
rpc GetMachineRoutes (GetMachineRoutesRequest) returns (GetMachineRoutesResponse) {}
|
||||
rpc SetMachineRoutes (SetMachineRoutesRequest) returns (GetMachineRoutesResponse) {}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,13 @@ message ExpireMachineRequest {
|
||||
|
||||
message ExpireMachineResponse {}
|
||||
|
||||
message SetMachineKeyExpiryRequest {
|
||||
uint64 machine_id = 1;
|
||||
bool disabled = 2;
|
||||
}
|
||||
|
||||
message SetMachineKeyExpiryResponse {}
|
||||
|
||||
message Machine {
|
||||
uint64 id = 1;
|
||||
string name = 2;
|
||||
|
||||
Reference in New Issue
Block a user