client/rust: regenerate protos for BrowseChildren

This commit is contained in:
Joseph Doherty
2026-05-28 13:19:54 -04:00
parent 0b389f5a97
commit 5c28458624
+11 -3
View File
@@ -234,9 +234,10 @@ mod tests {
GalaxyRepository, GalaxyRepositoryServer, GalaxyRepository, GalaxyRepositoryServer,
}; };
use crate::generated::galaxy_repository::v1::{ use crate::generated::galaxy_repository::v1::{
DeployEvent, DiscoverHierarchyReply, DiscoverHierarchyRequest, GalaxyAttribute, BrowseChildrenReply, BrowseChildrenRequest, DeployEvent, DiscoverHierarchyReply,
GalaxyObject, GetLastDeployTimeReply, GetLastDeployTimeRequest, TestConnectionReply, DiscoverHierarchyRequest, GalaxyAttribute, GalaxyObject, GetLastDeployTimeReply,
TestConnectionRequest, WatchDeployEventsRequest, GetLastDeployTimeRequest, TestConnectionReply, TestConnectionRequest,
WatchDeployEventsRequest,
}; };
type DeployEventTx = mpsc::Sender<Result<DeployEvent, Status>>; type DeployEventTx = mpsc::Sender<Result<DeployEvent, Status>>;
@@ -306,6 +307,13 @@ mod tests {
})) }))
} }
async fn browse_children(
&self,
_request: Request<BrowseChildrenRequest>,
) -> Result<Response<BrowseChildrenReply>, Status> {
Err(Status::unimplemented("browse_children not implemented in FakeGalaxy"))
}
type WatchDeployEventsStream = type WatchDeployEventsStream =
Pin<Box<dyn tokio_stream::Stream<Item = Result<DeployEvent, Status>> + Send + 'static>>; Pin<Box<dyn tokio_stream::Stream<Item = Result<DeployEvent, Status>> + Send + 'static>>;