@ornncompute/cli 1.0.295 → 1.0.296
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
|
@@ -580,6 +580,30 @@ function getMaintenanceEvent(request, id, signal) {
|
|
|
580
580
|
});
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
+
// ../../packages/api-client/dist/orchestrator/maintenance-runs.js
|
|
584
|
+
function createMaintenanceRun(request, body) {
|
|
585
|
+
return request("/v1/orchestrator/maintenance-runs", {
|
|
586
|
+
method: "POST",
|
|
587
|
+
body
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
function listMaintenanceRuns(request, filter = {}, signal) {
|
|
591
|
+
const query = new URLSearchParams();
|
|
592
|
+
for (const [key, value] of Object.entries(filter))
|
|
593
|
+
if (value !== void 0)
|
|
594
|
+
query.set(key, value);
|
|
595
|
+
return request(`/v1/orchestrator/maintenance-runs${query.size ? `?${query}` : ""}`, {
|
|
596
|
+
method: "GET",
|
|
597
|
+
...signal ? { signal } : {}
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
function getMaintenanceRun(request, id, signal) {
|
|
601
|
+
return request(`/v1/orchestrator/maintenance-runs/${encodeURIComponent(id)}`, {
|
|
602
|
+
method: "GET",
|
|
603
|
+
...signal ? { signal } : {}
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
|
|
583
607
|
// ../../packages/api-client/dist/orchestrator/networks.js
|
|
584
608
|
var networks = "/v1/orchestrator/networks";
|
|
585
609
|
function networkPath(id) {
|
|
@@ -1138,6 +1162,7 @@ export {
|
|
|
1138
1162
|
createEnrollmentProfile,
|
|
1139
1163
|
createEnrollmentRun,
|
|
1140
1164
|
createGhostNodes,
|
|
1165
|
+
createMaintenanceRun,
|
|
1141
1166
|
createNetwork,
|
|
1142
1167
|
createNetworkPeer,
|
|
1143
1168
|
createShellSession,
|
|
@@ -1186,6 +1211,7 @@ export {
|
|
|
1186
1211
|
getFalcoRollout,
|
|
1187
1212
|
getHardwareCatalog,
|
|
1188
1213
|
getMaintenanceEvent,
|
|
1214
|
+
getMaintenanceRun,
|
|
1189
1215
|
getNetwork,
|
|
1190
1216
|
getNode,
|
|
1191
1217
|
getNodeSanitize,
|
|
@@ -1227,6 +1253,7 @@ export {
|
|
|
1227
1253
|
listGitHubRepositories,
|
|
1228
1254
|
listLocalityRegions,
|
|
1229
1255
|
listMaintenanceHistory,
|
|
1256
|
+
listMaintenanceRuns,
|
|
1230
1257
|
listNetworkCompartments,
|
|
1231
1258
|
listNetworkMemberPeers,
|
|
1232
1259
|
listNetworkPeerConfigs,
|