(endpoint: &str)
| 722 | |
| 723 | impl CachedOpenShellClient { |
| 724 | pub async fn connect(endpoint: &str) -> Result<Self> { |
| 725 | debug!(endpoint = %endpoint, "Connecting openshell gRPC client for policy polling"); |
| 726 | let client = connect(endpoint).await?; |
| 727 | Ok(Self { client }) |
| 728 | } |
| 729 | |
| 730 | /// Get a clone of the underlying tonic client for direct RPC calls. |
| 731 | pub fn raw_client(&self) -> OpenShellClient<AuthedChannel> { |
no test coverage detected