Returns the next wasm module for the given wasm module name and current version, if any.
(
&self,
input: NextWasmModuleVersionInput,
)
| 85 | |
| 86 | /// Returns the next wasm module for the given wasm module name and current version, if any. |
| 87 | pub async fn next_wasm_module_version( |
| 88 | &self, |
| 89 | input: NextWasmModuleVersionInput, |
| 90 | ) -> ApiResult<NextWasmModuleVersionResponse> { |
| 91 | let entry = self |
| 92 | .registry_service |
| 93 | .find_next_wasm_module_version(&input.name, &input.current_version)?; |
| 94 | |
| 95 | Ok(NextWasmModuleVersionResponse { |
| 96 | entry: entry.map(|e| e.into()), |
| 97 | }) |
| 98 | } |
| 99 | |
| 100 | /// Searches the registry for entries. |
| 101 | pub async fn search_registry( |
no test coverage detected