diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2025-03-27 09:26:08 +0100 |
|---|---|---|
| committer | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-05-28 10:33:24 +0200 |
| commit | 1dd385984aef223280633a652426138fdeba343f (patch) | |
| tree | 093fd635564f2536e83c43c35a114354f7d22dd8 | |
| parent | 7bb0e55aad8bc98434cab1982befee862cb55f66 (diff) | |
| download | mullvadvpn-1dd385984aef223280633a652426138fdeba343f.tar.xz mullvadvpn-1dd385984aef223280633a652426138fdeba343f.zip | |
Add skeleton for missing gRPC functions in `mullvad-daemon`
| -rw-r--r-- | mullvad-daemon/src/management_interface.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mullvad-daemon/src/management_interface.rs b/mullvad-daemon/src/management_interface.rs index 3efe41e288..ea03133ce1 100644 --- a/mullvad-daemon/src/management_interface.rs +++ b/mullvad-daemon/src/management_interface.rs @@ -54,6 +54,8 @@ const USED_VOUCHER_MESSAGE: &str = "This voucher code has already been used"; impl ManagementService for ManagementServiceImpl { type GetSplitTunnelProcessesStream = UnboundedReceiverStream<Result<i32, Status>>; type EventsListenStream = EventsListenerReceiver; + type AppUpgradeEventsListenStream = + UnboundedReceiverStream<Result<types::AppUpgradeEvent, Status>>; // Control and get the tunnel state // @@ -1115,6 +1117,23 @@ impl ManagementService for ManagementServiceImpl { self.wait_for_result(rx).await?; Ok(Response::new(())) } + + // App upgrade + + async fn app_upgrade(&self, _: Request<()>) -> ServiceResult<()> { + todo!() + } + + async fn app_upgrade_abort(&self, _: Request<()>) -> ServiceResult<()> { + todo!() + } + + async fn app_upgrade_events_listen( + &self, + _: Request<()>, + ) -> ServiceResult<Self::AppUpgradeEventsListenStream> { + todo!() + } } impl ManagementServiceImpl { |
