@ornncompute/cli 1.0.279 → 1.0.281
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
|
@@ -969,6 +969,30 @@ function putSupplierNodeConfig(request, organizationId, body) {
|
|
|
969
969
|
body
|
|
970
970
|
});
|
|
971
971
|
}
|
|
972
|
+
function falcoRolloutPath(organizationId, rolloutId) {
|
|
973
|
+
return `/v1/orchestrator/supplier-node-configs/${encodeURIComponent(organizationId)}/falco-rollouts/${encodeURIComponent(rolloutId)}`;
|
|
974
|
+
}
|
|
975
|
+
function putFalcoRollout(request, organizationId, rolloutId, body) {
|
|
976
|
+
return request(falcoRolloutPath(organizationId, rolloutId), {
|
|
977
|
+
method: "PUT",
|
|
978
|
+
body
|
|
979
|
+
});
|
|
980
|
+
}
|
|
981
|
+
function getFalcoRollout(request, organizationId, rolloutId = "latest", signal) {
|
|
982
|
+
return request(falcoRolloutPath(organizationId, rolloutId), {
|
|
983
|
+
method: "GET",
|
|
984
|
+
signal
|
|
985
|
+
});
|
|
986
|
+
}
|
|
987
|
+
function listFalcoPolicies(request, signal) {
|
|
988
|
+
return request("/v1/orchestrator/supplier-node-configs/falco-policies", {
|
|
989
|
+
method: "GET",
|
|
990
|
+
signal
|
|
991
|
+
});
|
|
992
|
+
}
|
|
993
|
+
function registerFalcoPolicy(request, revision, body) {
|
|
994
|
+
return request(`/v1/orchestrator/supplier-node-configs/falco-policies/${encodeURIComponent(revision)}`, { method: "PUT", body });
|
|
995
|
+
}
|
|
972
996
|
|
|
973
997
|
// ../../packages/api-client/dist/orchestrator/virtual-machines.js
|
|
974
998
|
function listNodeVirtualMachines(request, nodeId, signal) {
|
|
@@ -1137,6 +1161,7 @@ export {
|
|
|
1137
1161
|
getEnrollmentRunSource,
|
|
1138
1162
|
getEnrollmentStepCatalog,
|
|
1139
1163
|
getEnrollmentSteps,
|
|
1164
|
+
getFalcoRollout,
|
|
1140
1165
|
getHardwareCatalog,
|
|
1141
1166
|
getMaintenanceEvent,
|
|
1142
1167
|
getNetwork,
|
|
@@ -1174,6 +1199,7 @@ export {
|
|
|
1174
1199
|
listEnrollmentProfiles,
|
|
1175
1200
|
listEnrollmentRuns,
|
|
1176
1201
|
listEnrollmentTokens,
|
|
1202
|
+
listFalcoPolicies,
|
|
1177
1203
|
listGitHubBranches,
|
|
1178
1204
|
listGitHubConnections,
|
|
1179
1205
|
listGitHubRepositories,
|
|
@@ -1212,9 +1238,11 @@ export {
|
|
|
1212
1238
|
postImageObject,
|
|
1213
1239
|
pullGitHubRepository,
|
|
1214
1240
|
pushNodeKeys,
|
|
1241
|
+
putFalcoRollout,
|
|
1215
1242
|
putSupplierNodeConfig,
|
|
1216
1243
|
rebootNode,
|
|
1217
1244
|
rebootVirtualMachine,
|
|
1245
|
+
registerFalcoPolicy,
|
|
1218
1246
|
registerSupplierGateway,
|
|
1219
1247
|
remoteRunPath,
|
|
1220
1248
|
removeControllerNode,
|