(&self, client: Client, sandbox_api_version: &str)
| 271 | } |
| 272 | |
| 273 | fn agent_sandbox_api(&self, client: Client, sandbox_api_version: &str) -> AgentSandboxApi { |
| 274 | let gvk = GroupVersionKind::gvk(SANDBOX_GROUP, sandbox_api_version, SANDBOX_KIND); |
| 275 | let resource = ApiResource::from_gvk(&gvk); |
| 276 | let api = Api::namespaced_with(client, &self.config.namespace, &resource); |
| 277 | AgentSandboxApi { api, resource } |
| 278 | } |
| 279 | |
| 280 | async fn supported_agent_sandbox_api(&self, client: Client) -> Result<AgentSandboxApi, String> { |
| 281 | let sandbox_api_version = self.supported_sandbox_api_version(client.clone()).await?; |
no outgoing calls
no test coverage detected