@ornncompute/cli 1.0.419 → 1.0.420
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
|
@@ -199,6 +199,12 @@ function listControllers(request, query = {}, signal) {
|
|
|
199
199
|
function createController(request, body, options) {
|
|
200
200
|
return request(controllersSocketPath, { ...options, method: "POST", body });
|
|
201
201
|
}
|
|
202
|
+
function renameController(request, id, clusterName) {
|
|
203
|
+
return request(controllerPath(id), {
|
|
204
|
+
method: "PATCH",
|
|
205
|
+
body: { cluster_name: clusterName }
|
|
206
|
+
});
|
|
207
|
+
}
|
|
202
208
|
function getControllerAccess(request, id, signal) {
|
|
203
209
|
return request(`${controllerPath(id)}/access`, {
|
|
204
210
|
method: "GET",
|
|
@@ -1443,6 +1449,7 @@ export {
|
|
|
1443
1449
|
remoteRunPath,
|
|
1444
1450
|
removeControllerNode,
|
|
1445
1451
|
removeControllerVirtualMachine,
|
|
1452
|
+
renameController,
|
|
1446
1453
|
requestAgentUpdate,
|
|
1447
1454
|
requestDiskRebuilds,
|
|
1448
1455
|
reservationEventsPath,
|