@ornncompute/cli 1.0.266 → 1.0.268
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
|
@@ -11,6 +11,15 @@ function startAgentReleaseRollout(request, version, body = {}) {
|
|
|
11
11
|
body
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
+
function listAgentReleaseRollouts(request, signal) {
|
|
15
|
+
return request("/v1/orchestrator/agent-releases/rollouts", {
|
|
16
|
+
method: "GET",
|
|
17
|
+
signal
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
async function controlAgentReleaseRollout(request, version, runId, body) {
|
|
21
|
+
await request(`/v1/orchestrator/agent-releases/${encodeURIComponent(version)}/rollouts/${encodeURIComponent(runId)}`, { method: "PATCH", body });
|
|
22
|
+
}
|
|
14
23
|
function forceAgentUpdates(request, body) {
|
|
15
24
|
return request("/v1/orchestrator/force-updates", {
|
|
16
25
|
method: "POST",
|
|
@@ -1067,6 +1076,7 @@ export {
|
|
|
1067
1076
|
completeGitHubConnection,
|
|
1068
1077
|
completeImageUpload,
|
|
1069
1078
|
configureEnrollmentConnection,
|
|
1079
|
+
controlAgentReleaseRollout,
|
|
1070
1080
|
controllersSocketPath,
|
|
1071
1081
|
controlplaneDownloadPath,
|
|
1072
1082
|
controlplaneSplashPath,
|
|
@@ -1144,6 +1154,7 @@ export {
|
|
|
1144
1154
|
keepDriveUploadsAlive,
|
|
1145
1155
|
launchEnrollmentRun,
|
|
1146
1156
|
launchReservation,
|
|
1157
|
+
listAgentReleaseRollouts,
|
|
1147
1158
|
listAllEnrollmentProfiles,
|
|
1148
1159
|
listAvailableAgentReleases,
|
|
1149
1160
|
listCatalogImages,
|