@ornncompute/cli 1.0.334 → 1.0.335
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -731,6 +731,14 @@ function getNodeSanitizeLog(fetcher, nodeId, jobId) {
|
|
|
731
731
|
headers: { Accept: "application/x-ndjson" }
|
|
732
732
|
});
|
|
733
733
|
}
|
|
734
|
+
function listSanitizeJobs(request, filter, signal) {
|
|
735
|
+
const params = new URLSearchParams({ view: filter.view });
|
|
736
|
+
if (filter.organization_id)
|
|
737
|
+
params.set("organization_id", filter.organization_id);
|
|
738
|
+
if (filter.cursor)
|
|
739
|
+
params.set("cursor", filter.cursor);
|
|
740
|
+
return request(`/v1/orchestrator/sanitize-jobs?${params}`, { method: "GET", signal });
|
|
741
|
+
}
|
|
734
742
|
|
|
735
743
|
// ../../packages/api-client/dist/orchestrator/nodes.js
|
|
736
744
|
function nodeQuery(query) {
|
|
@@ -1293,6 +1301,7 @@ export {
|
|
|
1293
1301
|
listReservationNodeTags,
|
|
1294
1302
|
listReservationSshKeys,
|
|
1295
1303
|
listReservationVirtualMachines,
|
|
1304
|
+
listSanitizeJobs,
|
|
1296
1305
|
listServicingRequirements,
|
|
1297
1306
|
listSshBastions,
|
|
1298
1307
|
listStaffNodeVirtualMachines,
|