@ornncompute/cli 1.0.254 → 1.0.256
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
|
@@ -5,6 +5,18 @@ function listAvailableAgentReleases(request, signal) {
|
|
|
5
5
|
signal
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
|
+
function startAgentReleaseRollout(request, version, body = {}) {
|
|
9
|
+
return request(`/v1/orchestrator/agent-releases/${encodeURIComponent(version)}/rollouts`, {
|
|
10
|
+
method: "POST",
|
|
11
|
+
body
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function forceAgentUpdates(request, body) {
|
|
15
|
+
return request("/v1/orchestrator/force-updates", {
|
|
16
|
+
method: "POST",
|
|
17
|
+
body
|
|
18
|
+
});
|
|
19
|
+
}
|
|
8
20
|
function requestAgentUpdate(request, nodeId, body) {
|
|
9
21
|
return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/update`, {
|
|
10
22
|
method: "POST",
|
|
@@ -1084,6 +1096,7 @@ export {
|
|
|
1084
1096
|
enrollmentInstallPath,
|
|
1085
1097
|
enrollmentTokensPath,
|
|
1086
1098
|
fakeEnroll,
|
|
1099
|
+
forceAgentUpdates,
|
|
1087
1100
|
geolocate,
|
|
1088
1101
|
getContainerRegistry,
|
|
1089
1102
|
getControllerAccess,
|
|
@@ -1186,6 +1199,7 @@ export {
|
|
|
1186
1199
|
saveServicingRequirement,
|
|
1187
1200
|
setControlplaneSize,
|
|
1188
1201
|
shellSessionAttachPath,
|
|
1202
|
+
startAgentReleaseRollout,
|
|
1189
1203
|
startDiskUpload,
|
|
1190
1204
|
startDriveUpload,
|
|
1191
1205
|
startGitHubConnection,
|