levelfour 1.17.0 → 1.18.0
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/dist/api/resources/recommendations/client/Client.js +2 -0
- package/dist/api/resources/recommendations/client/Client.mjs +2 -0
- package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.mts +2 -0
- package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.ts +2 -0
- package/dist/api/types/CheckedObject.d.mts +1 -1
- package/dist/api/types/CheckedObject.d.ts +1 -1
- package/dist/api/types/ClusterItem.d.mts +3 -1
- package/dist/api/types/ClusterItem.d.ts +3 -1
- package/dist/api/types/ClusterSummary.d.mts +3 -1
- package/dist/api/types/ClusterSummary.d.ts +3 -1
- package/dist/api/types/ConfigObjectView.d.mts +2 -11
- package/dist/api/types/ConfigObjectView.d.ts +2 -11
- package/dist/api/types/ConfigObjectView.js +0 -9
- package/dist/api/types/ConfigObjectView.mjs +0 -9
- package/dist/api/types/ConsolidationBlocker.d.mts +26 -0
- package/dist/api/types/ConsolidationBlocker.d.ts +26 -0
- package/dist/api/types/ConsolidationBlocker.js +19 -0
- package/dist/api/types/ConsolidationBlocker.mjs +19 -0
- package/dist/api/types/ConsolidationChange.d.mts +16 -0
- package/dist/api/types/ConsolidationChange.d.ts +16 -0
- package/dist/api/types/ConsolidationChange.js +13 -0
- package/dist/api/types/ConsolidationChange.mjs +13 -0
- package/dist/api/types/ConsolidationChangeDetail.d.mts +16 -0
- package/dist/api/types/ConsolidationChangeDetail.d.ts +16 -0
- package/dist/api/types/ConsolidationChangeDetail.js +13 -0
- package/dist/api/types/ConsolidationChangeDetail.mjs +13 -0
- package/dist/api/types/ConsolidationChangeTotals.d.mts +5 -1
- package/dist/api/types/ConsolidationChangeTotals.d.ts +5 -1
- package/dist/api/types/ConsolidationLever.d.mts +2 -0
- package/dist/api/types/ConsolidationLever.d.ts +2 -0
- package/dist/api/types/FleetConsolidationChange.d.mts +16 -0
- package/dist/api/types/FleetConsolidationChange.d.ts +16 -0
- package/dist/api/types/FleetConsolidationChange.js +13 -0
- package/dist/api/types/FleetConsolidationChange.mjs +13 -0
- package/dist/api/types/FleetConsolidationLever.d.mts +2 -0
- package/dist/api/types/FleetConsolidationLever.d.ts +2 -0
- package/dist/api/types/FleetNamespace.d.mts +3 -1
- package/dist/api/types/FleetNamespace.d.ts +3 -1
- package/dist/api/types/FleetSummary.d.mts +3 -1
- package/dist/api/types/FleetSummary.d.ts +3 -1
- package/dist/api/types/FleetVolume.d.mts +1 -1
- package/dist/api/types/FleetVolume.d.ts +1 -1
- package/dist/api/types/ForecastData.d.mts +3 -3
- package/dist/api/types/ForecastData.d.ts +3 -3
- package/dist/api/types/HeldChange.d.mts +16 -0
- package/dist/api/types/HeldChange.d.ts +16 -0
- package/dist/api/types/HeldChange.js +13 -0
- package/dist/api/types/HeldChange.mjs +13 -0
- package/dist/api/types/HeldOutcome.d.mts +9 -0
- package/dist/api/types/HeldOutcome.d.ts +9 -0
- package/dist/api/types/HeldOutcome.js +17 -0
- package/dist/api/types/HeldOutcome.mjs +1 -0
- package/dist/api/types/Impact.d.mts +40 -0
- package/dist/api/types/Impact.d.ts +40 -0
- package/dist/api/types/Impact.js +36 -0
- package/dist/api/types/Impact.mjs +12 -0
- package/dist/api/types/ImpactBeforeNow.d.mts +5 -0
- package/dist/api/types/ImpactBeforeNow.d.ts +5 -0
- package/dist/api/types/ImpactBeforeNow.js +17 -0
- package/dist/api/types/ImpactBeforeNow.mjs +1 -0
- package/dist/api/types/ImpactChange.d.mts +47 -0
- package/dist/api/types/ImpactChange.d.ts +47 -0
- package/dist/api/types/ImpactChange.js +44 -0
- package/dist/api/types/ImpactChange.mjs +20 -0
- package/dist/api/types/ImpactChangeList.d.mts +5 -0
- package/dist/api/types/ImpactChangeList.d.ts +5 -0
- package/dist/api/types/ImpactChangeList.js +17 -0
- package/dist/api/types/ImpactChangeList.mjs +1 -0
- package/dist/api/types/ImpactChangeListResponse.d.mts +6 -0
- package/dist/api/types/ImpactChangeListResponse.d.ts +6 -0
- package/dist/api/types/ImpactChangeListResponse.js +17 -0
- package/dist/api/types/ImpactChangeListResponse.mjs +1 -0
- package/dist/api/types/ImpactChanges.d.mts +8 -0
- package/dist/api/types/ImpactChanges.d.ts +8 -0
- package/dist/api/types/ImpactChanges.js +17 -0
- package/dist/api/types/ImpactChanges.mjs +1 -0
- package/dist/api/types/ImpactCluster.d.mts +22 -0
- package/dist/api/types/ImpactCluster.d.ts +22 -0
- package/dist/api/types/ImpactCluster.js +35 -0
- package/dist/api/types/ImpactCluster.mjs +11 -0
- package/dist/api/types/ImpactClusterListResponse.d.mts +6 -0
- package/dist/api/types/ImpactClusterListResponse.d.ts +6 -0
- package/dist/api/types/ImpactClusterListResponse.js +17 -0
- package/dist/api/types/ImpactClusterListResponse.mjs +1 -0
- package/dist/api/types/ImpactClusters.d.mts +7 -0
- package/dist/api/types/ImpactClusters.d.ts +7 -0
- package/dist/api/types/ImpactClusters.js +17 -0
- package/dist/api/types/ImpactClusters.mjs +1 -0
- package/dist/api/types/ImpactCount.d.mts +16 -0
- package/dist/api/types/ImpactCount.d.ts +16 -0
- package/dist/api/types/ImpactCount.js +17 -0
- package/dist/api/types/ImpactCount.mjs +1 -0
- package/dist/api/types/ImpactDaySpan.d.mts +4 -0
- package/dist/api/types/ImpactDaySpan.d.ts +4 -0
- package/dist/api/types/ImpactDaySpan.js +17 -0
- package/dist/api/types/ImpactDaySpan.mjs +1 -0
- package/dist/api/types/ImpactDaysCompared.d.mts +4 -0
- package/dist/api/types/ImpactDaysCompared.d.ts +4 -0
- package/dist/api/types/ImpactDaysCompared.js +17 -0
- package/dist/api/types/ImpactDaysCompared.mjs +1 -0
- package/dist/api/types/ImpactExcluded.d.mts +14 -0
- package/dist/api/types/ImpactExcluded.d.ts +14 -0
- package/dist/api/types/ImpactExcluded.js +35 -0
- package/dist/api/types/ImpactExcluded.mjs +11 -0
- package/dist/api/types/ImpactMeasuredThrough.d.mts +6 -0
- package/dist/api/types/ImpactMeasuredThrough.d.ts +6 -0
- package/dist/api/types/ImpactMeasuredThrough.js +17 -0
- package/dist/api/types/ImpactMeasuredThrough.mjs +1 -0
- package/dist/api/types/ImpactMeasuring.d.mts +6 -0
- package/dist/api/types/ImpactMeasuring.d.ts +6 -0
- package/dist/api/types/ImpactMeasuring.js +17 -0
- package/dist/api/types/ImpactMeasuring.mjs +1 -0
- package/dist/api/types/ImpactNamespace.d.mts +11 -0
- package/dist/api/types/ImpactNamespace.d.ts +11 -0
- package/dist/api/types/ImpactNamespace.js +17 -0
- package/dist/api/types/ImpactNamespace.mjs +1 -0
- package/dist/api/types/ImpactNamespaceListResponse.d.mts +6 -0
- package/dist/api/types/ImpactNamespaceListResponse.d.ts +6 -0
- package/dist/api/types/ImpactNamespaceListResponse.js +17 -0
- package/dist/api/types/ImpactNamespaceListResponse.mjs +1 -0
- package/dist/api/types/ImpactNamespaces.d.mts +6 -0
- package/dist/api/types/ImpactNamespaces.d.ts +6 -0
- package/dist/api/types/ImpactNamespaces.js +17 -0
- package/dist/api/types/ImpactNamespaces.mjs +1 -0
- package/dist/api/types/ImpactPace.d.mts +6 -0
- package/dist/api/types/ImpactPace.d.ts +6 -0
- package/dist/api/types/ImpactPace.js +17 -0
- package/dist/api/types/ImpactPace.mjs +1 -0
- package/dist/api/types/ImpactPoint.d.mts +21 -0
- package/dist/api/types/ImpactPoint.d.ts +21 -0
- package/dist/api/types/ImpactPoint.js +17 -0
- package/dist/api/types/ImpactPoint.mjs +1 -0
- package/dist/api/types/ImpactRequests.d.mts +7 -0
- package/dist/api/types/ImpactRequests.d.ts +7 -0
- package/dist/api/types/ImpactRequests.js +17 -0
- package/dist/api/types/ImpactRequests.mjs +1 -0
- package/dist/api/types/ImpactRequestsMoved.d.mts +10 -0
- package/dist/api/types/ImpactRequestsMoved.d.ts +10 -0
- package/dist/api/types/ImpactRequestsMoved.js +17 -0
- package/dist/api/types/ImpactRequestsMoved.mjs +1 -0
- package/dist/api/types/ImpactResponse.d.mts +6 -0
- package/dist/api/types/ImpactResponse.d.ts +6 -0
- package/dist/api/types/ImpactResponse.js +17 -0
- package/dist/api/types/ImpactResponse.mjs +1 -0
- package/dist/api/types/ImpactResultWindows.d.mts +5 -0
- package/dist/api/types/ImpactResultWindows.d.ts +5 -0
- package/dist/api/types/ImpactResultWindows.js +17 -0
- package/dist/api/types/ImpactResultWindows.mjs +1 -0
- package/dist/api/types/ImpactRowTotals.d.mts +6 -0
- package/dist/api/types/ImpactRowTotals.d.ts +6 -0
- package/dist/api/types/ImpactRowTotals.js +17 -0
- package/dist/api/types/ImpactRowTotals.mjs +1 -0
- package/dist/api/types/ImpactSaved.d.mts +4 -0
- package/dist/api/types/ImpactSaved.d.ts +4 -0
- package/dist/api/types/ImpactSaved.js +17 -0
- package/dist/api/types/ImpactSaved.mjs +1 -0
- package/dist/api/types/ImpactScope.d.mts +9 -0
- package/dist/api/types/ImpactScope.d.ts +9 -0
- package/dist/api/types/ImpactScope.js +17 -0
- package/dist/api/types/ImpactScope.mjs +1 -0
- package/dist/api/types/ImpactSeries.d.mts +5 -0
- package/dist/api/types/ImpactSeries.d.ts +5 -0
- package/dist/api/types/ImpactSeries.js +17 -0
- package/dist/api/types/ImpactSeries.mjs +1 -0
- package/dist/api/types/ImpactSeriesResponse.d.mts +6 -0
- package/dist/api/types/ImpactSeriesResponse.d.ts +6 -0
- package/dist/api/types/ImpactSeriesResponse.js +17 -0
- package/dist/api/types/ImpactSeriesResponse.mjs +1 -0
- package/dist/api/types/ImpactWasNowCount.d.mts +4 -0
- package/dist/api/types/ImpactWasNowCount.d.ts +4 -0
- package/dist/api/types/ImpactWasNowCount.js +17 -0
- package/dist/api/types/ImpactWasNowCount.mjs +1 -0
- package/dist/api/types/ImpactWasNowUsd.d.mts +4 -0
- package/dist/api/types/ImpactWasNowUsd.d.ts +4 -0
- package/dist/api/types/ImpactWasNowUsd.js +17 -0
- package/dist/api/types/ImpactWasNowUsd.mjs +1 -0
- package/dist/api/types/ImpactWasWindow.d.mts +8 -0
- package/dist/api/types/ImpactWasWindow.d.ts +8 -0
- package/dist/api/types/ImpactWasWindow.js +17 -0
- package/dist/api/types/ImpactWasWindow.mjs +1 -0
- package/dist/api/types/ImpactWaste.d.mts +20 -0
- package/dist/api/types/ImpactWaste.d.ts +20 -0
- package/dist/api/types/ImpactWaste.js +17 -0
- package/dist/api/types/ImpactWaste.mjs +1 -0
- package/dist/api/types/ImpactWorkload.d.mts +27 -0
- package/dist/api/types/ImpactWorkload.d.ts +27 -0
- package/dist/api/types/ImpactWorkload.js +40 -0
- package/dist/api/types/ImpactWorkload.mjs +16 -0
- package/dist/api/types/ImpactWorkloadDetail.d.mts +34 -0
- package/dist/api/types/ImpactWorkloadDetail.d.ts +34 -0
- package/dist/api/types/ImpactWorkloadDetail.js +40 -0
- package/dist/api/types/ImpactWorkloadDetail.mjs +16 -0
- package/dist/api/types/ImpactWorkloadListResponse.d.mts +6 -0
- package/dist/api/types/ImpactWorkloadListResponse.d.ts +6 -0
- package/dist/api/types/ImpactWorkloadListResponse.js +17 -0
- package/dist/api/types/ImpactWorkloadListResponse.mjs +1 -0
- package/dist/api/types/ImpactWorkloadResponse.d.mts +6 -0
- package/dist/api/types/ImpactWorkloadResponse.d.ts +6 -0
- package/dist/api/types/ImpactWorkloadResponse.js +17 -0
- package/dist/api/types/ImpactWorkloadResponse.mjs +1 -0
- package/dist/api/types/ImpactWorkloads.d.mts +6 -0
- package/dist/api/types/ImpactWorkloads.d.ts +6 -0
- package/dist/api/types/ImpactWorkloads.js +17 -0
- package/dist/api/types/ImpactWorkloads.mjs +1 -0
- package/dist/api/types/NamespaceAutomation.d.mts +8 -0
- package/dist/api/types/NamespaceAutomation.d.ts +8 -0
- package/dist/api/types/NamespaceAutomation.js +5 -0
- package/dist/api/types/NamespaceAutomation.mjs +5 -0
- package/dist/api/types/NamespaceItem.d.mts +3 -1
- package/dist/api/types/NamespaceItem.d.ts +3 -1
- package/dist/api/types/ProviderBreakdownItem.d.mts +2 -0
- package/dist/api/types/ProviderBreakdownItem.d.ts +2 -0
- package/dist/api/types/RecommendationDetail.d.mts +2 -0
- package/dist/api/types/RecommendationDetail.d.ts +2 -0
- package/dist/api/types/ReliabilityLens.d.mts +2 -0
- package/dist/api/types/ReliabilityLens.d.ts +2 -0
- package/dist/api/types/ReliabilityThresholds.d.mts +23 -0
- package/dist/api/types/ReliabilityThresholds.d.ts +23 -0
- package/dist/api/types/ReliabilityThresholds.js +17 -0
- package/dist/api/types/ReliabilityThresholds.mjs +1 -0
- package/dist/api/types/RightsizedContainer.d.mts +2 -0
- package/dist/api/types/RightsizedContainer.d.ts +2 -0
- package/dist/api/types/SavingsBasis.d.mts +8 -0
- package/dist/api/types/SavingsBasis.d.ts +8 -0
- package/dist/api/types/SavingsBasis.js +17 -0
- package/dist/api/types/SavingsBasis.mjs +1 -0
- package/dist/api/types/SavingsCollecting.d.mts +6 -0
- package/dist/api/types/SavingsCollecting.d.ts +6 -0
- package/dist/api/types/SavingsCollecting.js +17 -0
- package/dist/api/types/SavingsCollecting.mjs +1 -0
- package/dist/api/types/SavingsItem.d.mts +8 -3
- package/dist/api/types/SavingsItem.d.ts +8 -3
- package/dist/api/types/SavingsMissing.d.mts +6 -2
- package/dist/api/types/SavingsMissing.d.ts +6 -2
- package/dist/api/types/SavingsNode.d.mts +13 -0
- package/dist/api/types/SavingsNode.d.ts +13 -0
- package/dist/api/types/SavingsNow.d.mts +11 -0
- package/dist/api/types/SavingsNow.d.ts +11 -0
- package/dist/api/types/SavingsNow.js +5 -0
- package/dist/api/types/SavingsNow.mjs +5 -0
- package/dist/api/types/SavingsSection.d.mts +4 -0
- package/dist/api/types/SavingsSection.d.ts +4 -0
- package/dist/api/types/SetWorkloadAutomationRequest.d.mts +2 -2
- package/dist/api/types/SetWorkloadAutomationRequest.d.ts +2 -2
- package/dist/api/types/UnpricedFindings.d.mts +1 -1
- package/dist/api/types/UnpricedFindings.d.ts +1 -1
- package/dist/api/types/VolumeItem.d.mts +1 -1
- package/dist/api/types/VolumeItem.d.ts +1 -1
- package/dist/api/types/WorkloadItem.d.mts +3 -1
- package/dist/api/types/WorkloadItem.d.ts +3 -1
- package/dist/api/types/WorkloadItem.js +2 -0
- package/dist/api/types/WorkloadItem.mjs +2 -0
- package/dist/api/types/WorkloadListItem.d.mts +3 -1
- package/dist/api/types/WorkloadListItem.d.ts +3 -1
- package/dist/api/types/WorkloadListItem.js +2 -0
- package/dist/api/types/WorkloadListItem.mjs +2 -0
- package/dist/api/types/index.d.mts +42 -0
- package/dist/api/types/index.d.ts +42 -0
- package/dist/api/types/index.js +84 -0
- package/dist/api/types/index.mjs +42 -0
- package/dist/version.d.mts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var ImpactWasNowCount_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWasNowCount_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWasNowCount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWasNowCount.mjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var ImpactWasNowUsd_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWasNowUsd_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWasNowUsd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWasNowUsd.mjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var ImpactWasWindow_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWasWindow_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWasWindow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWasWindow.mjs.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface ImpactWaste {
|
|
3
|
+
/** The whole weeks of days on each side, 7 to 28, fewest and most of any workload compared */
|
|
4
|
+
days?: (LevelFour.ImpactDaysCompared | null) | undefined;
|
|
5
|
+
/** The days of was: each workload's own, before its first change */
|
|
6
|
+
was_window?: (LevelFour.ImpactWasWindow | null) | undefined;
|
|
7
|
+
/** The days of now: the most recent ones, through the last day priced */
|
|
8
|
+
now_window: LevelFour.ImpactDaySpan;
|
|
9
|
+
/** The workloads both sides add up */
|
|
10
|
+
compared: number;
|
|
11
|
+
/** The changed workloads left out of both sides, short of a week on one of them */
|
|
12
|
+
pending: number;
|
|
13
|
+
/** What a day cost unused, in USD, on average. No estimate stands for it */
|
|
14
|
+
was?: (number | null) | undefined;
|
|
15
|
+
/** Over the workloads compared; with none, over every workload and the last 28 days */
|
|
16
|
+
now?: (number | null) | undefined;
|
|
17
|
+
/** The pods that ran at once, on average: traffic moves waste too */
|
|
18
|
+
pods_then?: (number | null) | undefined;
|
|
19
|
+
pods_now?: (number | null) | undefined;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface ImpactWaste {
|
|
3
|
+
/** The whole weeks of days on each side, 7 to 28, fewest and most of any workload compared */
|
|
4
|
+
days?: (LevelFour.ImpactDaysCompared | null) | undefined;
|
|
5
|
+
/** The days of was: each workload's own, before its first change */
|
|
6
|
+
was_window?: (LevelFour.ImpactWasWindow | null) | undefined;
|
|
7
|
+
/** The days of now: the most recent ones, through the last day priced */
|
|
8
|
+
now_window: LevelFour.ImpactDaySpan;
|
|
9
|
+
/** The workloads both sides add up */
|
|
10
|
+
compared: number;
|
|
11
|
+
/** The changed workloads left out of both sides, short of a week on one of them */
|
|
12
|
+
pending: number;
|
|
13
|
+
/** What a day cost unused, in USD, on average. No estimate stands for it */
|
|
14
|
+
was?: (number | null) | undefined;
|
|
15
|
+
/** Over the workloads compared; with none, over every workload and the last 28 days */
|
|
16
|
+
now?: (number | null) | undefined;
|
|
17
|
+
/** The pods that ran at once, on average: traffic moves waste too */
|
|
18
|
+
pods_then?: (number | null) | undefined;
|
|
19
|
+
pods_now?: (number | null) | undefined;
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var ImpactWaste_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWaste_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWaste.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWaste.mjs.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface ImpactWorkload {
|
|
3
|
+
cpu_milli?: (LevelFour.ImpactBeforeNow | null) | undefined;
|
|
4
|
+
memory_bytes?: (LevelFour.ImpactBeforeNow | null) | undefined;
|
|
5
|
+
waste_per_day?: (LevelFour.ImpactWasNowUsd | null) | undefined;
|
|
6
|
+
oom?: (LevelFour.ImpactWasNowCount | null) | undefined;
|
|
7
|
+
estimated_monthly_usd?: (number | null) | undefined;
|
|
8
|
+
cluster_id: string;
|
|
9
|
+
cluster_name: string;
|
|
10
|
+
namespace: string;
|
|
11
|
+
kind: string;
|
|
12
|
+
name: string;
|
|
13
|
+
/** The first that applies: measuring; in_progress, its step under watch; rolled_back, its last change went back; too_early, 28 days on a side of its first change are not over; needs_review, more OOM kills or throttled hours after it; improved, none of those and less waste a day, fewer kills or fewer throttled hours; changed. Null without a namespace */
|
|
14
|
+
result?: (ImpactWorkload.Result | null) | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace ImpactWorkload {
|
|
17
|
+
const Result: {
|
|
18
|
+
readonly Measuring: "measuring";
|
|
19
|
+
readonly InProgress: "in_progress";
|
|
20
|
+
readonly RolledBack: "rolled_back";
|
|
21
|
+
readonly TooEarly: "too_early";
|
|
22
|
+
readonly NeedsReview: "needs_review";
|
|
23
|
+
readonly Improved: "improved";
|
|
24
|
+
readonly Changed: "changed";
|
|
25
|
+
};
|
|
26
|
+
type Result = (typeof Result)[keyof typeof Result];
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface ImpactWorkload {
|
|
3
|
+
cpu_milli?: (LevelFour.ImpactBeforeNow | null) | undefined;
|
|
4
|
+
memory_bytes?: (LevelFour.ImpactBeforeNow | null) | undefined;
|
|
5
|
+
waste_per_day?: (LevelFour.ImpactWasNowUsd | null) | undefined;
|
|
6
|
+
oom?: (LevelFour.ImpactWasNowCount | null) | undefined;
|
|
7
|
+
estimated_monthly_usd?: (number | null) | undefined;
|
|
8
|
+
cluster_id: string;
|
|
9
|
+
cluster_name: string;
|
|
10
|
+
namespace: string;
|
|
11
|
+
kind: string;
|
|
12
|
+
name: string;
|
|
13
|
+
/** The first that applies: measuring; in_progress, its step under watch; rolled_back, its last change went back; too_early, 28 days on a side of its first change are not over; needs_review, more OOM kills or throttled hours after it; improved, none of those and less waste a day, fewer kills or fewer throttled hours; changed. Null without a namespace */
|
|
14
|
+
result?: (ImpactWorkload.Result | null) | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace ImpactWorkload {
|
|
17
|
+
const Result: {
|
|
18
|
+
readonly Measuring: "measuring";
|
|
19
|
+
readonly InProgress: "in_progress";
|
|
20
|
+
readonly RolledBack: "rolled_back";
|
|
21
|
+
readonly TooEarly: "too_early";
|
|
22
|
+
readonly NeedsReview: "needs_review";
|
|
23
|
+
readonly Improved: "improved";
|
|
24
|
+
readonly Changed: "changed";
|
|
25
|
+
};
|
|
26
|
+
type Result = (typeof Result)[keyof typeof Result];
|
|
27
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var ImpactWorkload_exports = {};
|
|
20
|
+
__export(ImpactWorkload_exports, {
|
|
21
|
+
ImpactWorkload: () => ImpactWorkload
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(ImpactWorkload_exports);
|
|
24
|
+
var ImpactWorkload;
|
|
25
|
+
((ImpactWorkload2) => {
|
|
26
|
+
ImpactWorkload2.Result = {
|
|
27
|
+
Measuring: "measuring",
|
|
28
|
+
InProgress: "in_progress",
|
|
29
|
+
RolledBack: "rolled_back",
|
|
30
|
+
TooEarly: "too_early",
|
|
31
|
+
NeedsReview: "needs_review",
|
|
32
|
+
Improved: "improved",
|
|
33
|
+
Changed: "changed"
|
|
34
|
+
};
|
|
35
|
+
})(ImpactWorkload || (ImpactWorkload = {}));
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
ImpactWorkload
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=ImpactWorkload.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var ImpactWorkload;
|
|
2
|
+
((ImpactWorkload2) => {
|
|
3
|
+
ImpactWorkload2.Result = {
|
|
4
|
+
Measuring: "measuring",
|
|
5
|
+
InProgress: "in_progress",
|
|
6
|
+
RolledBack: "rolled_back",
|
|
7
|
+
TooEarly: "too_early",
|
|
8
|
+
NeedsReview: "needs_review",
|
|
9
|
+
Improved: "improved",
|
|
10
|
+
Changed: "changed"
|
|
11
|
+
};
|
|
12
|
+
})(ImpactWorkload || (ImpactWorkload = {}));
|
|
13
|
+
export {
|
|
14
|
+
ImpactWorkload
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=ImpactWorkload.mjs.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface ImpactWorkloadDetail {
|
|
3
|
+
requests?: (LevelFour.ImpactRequests | null) | undefined;
|
|
4
|
+
/** Every container of these workloads, as on the Efficiency tab. The estimate counts only the containers LevelFour changed, so the two don't subtract */
|
|
5
|
+
waste_per_day?: (LevelFour.ImpactWaste | null) | undefined;
|
|
6
|
+
oom?: (LevelFour.ImpactCount | null) | undefined;
|
|
7
|
+
/** Null where no hour carried a throttling figure */
|
|
8
|
+
throttled?: (LevelFour.ImpactCount | null) | undefined;
|
|
9
|
+
/** What a month of the requests the changes freed is worth, an estimate at the rates your bill's nodes work out to. A raise takes from it. A container with no rate for a resource it moved, or with no request of either on the last day watched, is out of it. It never adds to saved, and it is no saving until a node leaves */
|
|
10
|
+
estimated_monthly_usd?: (number | null) | undefined;
|
|
11
|
+
/** The last day the bill priced every cluster it prices now. A cluster whose bill is over 7 days behind the newest is none of them */
|
|
12
|
+
priced_through?: (string | null) | undefined;
|
|
13
|
+
/** The first day a cluster counted was watched */
|
|
14
|
+
first_report_day?: (string | null) | undefined;
|
|
15
|
+
measuring?: (LevelFour.ImpactMeasuring | null) | undefined;
|
|
16
|
+
result: ImpactWorkloadDetail.Result;
|
|
17
|
+
/** The 28 days on each side of its first change the result is judged on */
|
|
18
|
+
result_windows?: (LevelFour.ImpactResultWindows | null) | undefined;
|
|
19
|
+
series: LevelFour.ImpactPoint[];
|
|
20
|
+
/** Every change that reached it and every way back, newest first */
|
|
21
|
+
changes: LevelFour.ImpactChange[];
|
|
22
|
+
}
|
|
23
|
+
export declare namespace ImpactWorkloadDetail {
|
|
24
|
+
const Result: {
|
|
25
|
+
readonly Measuring: "measuring";
|
|
26
|
+
readonly InProgress: "in_progress";
|
|
27
|
+
readonly RolledBack: "rolled_back";
|
|
28
|
+
readonly TooEarly: "too_early";
|
|
29
|
+
readonly NeedsReview: "needs_review";
|
|
30
|
+
readonly Improved: "improved";
|
|
31
|
+
readonly Changed: "changed";
|
|
32
|
+
};
|
|
33
|
+
type Result = (typeof Result)[keyof typeof Result];
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface ImpactWorkloadDetail {
|
|
3
|
+
requests?: (LevelFour.ImpactRequests | null) | undefined;
|
|
4
|
+
/** Every container of these workloads, as on the Efficiency tab. The estimate counts only the containers LevelFour changed, so the two don't subtract */
|
|
5
|
+
waste_per_day?: (LevelFour.ImpactWaste | null) | undefined;
|
|
6
|
+
oom?: (LevelFour.ImpactCount | null) | undefined;
|
|
7
|
+
/** Null where no hour carried a throttling figure */
|
|
8
|
+
throttled?: (LevelFour.ImpactCount | null) | undefined;
|
|
9
|
+
/** What a month of the requests the changes freed is worth, an estimate at the rates your bill's nodes work out to. A raise takes from it. A container with no rate for a resource it moved, or with no request of either on the last day watched, is out of it. It never adds to saved, and it is no saving until a node leaves */
|
|
10
|
+
estimated_monthly_usd?: (number | null) | undefined;
|
|
11
|
+
/** The last day the bill priced every cluster it prices now. A cluster whose bill is over 7 days behind the newest is none of them */
|
|
12
|
+
priced_through?: (string | null) | undefined;
|
|
13
|
+
/** The first day a cluster counted was watched */
|
|
14
|
+
first_report_day?: (string | null) | undefined;
|
|
15
|
+
measuring?: (LevelFour.ImpactMeasuring | null) | undefined;
|
|
16
|
+
result: ImpactWorkloadDetail.Result;
|
|
17
|
+
/** The 28 days on each side of its first change the result is judged on */
|
|
18
|
+
result_windows?: (LevelFour.ImpactResultWindows | null) | undefined;
|
|
19
|
+
series: LevelFour.ImpactPoint[];
|
|
20
|
+
/** Every change that reached it and every way back, newest first */
|
|
21
|
+
changes: LevelFour.ImpactChange[];
|
|
22
|
+
}
|
|
23
|
+
export declare namespace ImpactWorkloadDetail {
|
|
24
|
+
const Result: {
|
|
25
|
+
readonly Measuring: "measuring";
|
|
26
|
+
readonly InProgress: "in_progress";
|
|
27
|
+
readonly RolledBack: "rolled_back";
|
|
28
|
+
readonly TooEarly: "too_early";
|
|
29
|
+
readonly NeedsReview: "needs_review";
|
|
30
|
+
readonly Improved: "improved";
|
|
31
|
+
readonly Changed: "changed";
|
|
32
|
+
};
|
|
33
|
+
type Result = (typeof Result)[keyof typeof Result];
|
|
34
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var ImpactWorkloadDetail_exports = {};
|
|
20
|
+
__export(ImpactWorkloadDetail_exports, {
|
|
21
|
+
ImpactWorkloadDetail: () => ImpactWorkloadDetail
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(ImpactWorkloadDetail_exports);
|
|
24
|
+
var ImpactWorkloadDetail;
|
|
25
|
+
((ImpactWorkloadDetail2) => {
|
|
26
|
+
ImpactWorkloadDetail2.Result = {
|
|
27
|
+
Measuring: "measuring",
|
|
28
|
+
InProgress: "in_progress",
|
|
29
|
+
RolledBack: "rolled_back",
|
|
30
|
+
TooEarly: "too_early",
|
|
31
|
+
NeedsReview: "needs_review",
|
|
32
|
+
Improved: "improved",
|
|
33
|
+
Changed: "changed"
|
|
34
|
+
};
|
|
35
|
+
})(ImpactWorkloadDetail || (ImpactWorkloadDetail = {}));
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
ImpactWorkloadDetail
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=ImpactWorkloadDetail.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var ImpactWorkloadDetail;
|
|
2
|
+
((ImpactWorkloadDetail2) => {
|
|
3
|
+
ImpactWorkloadDetail2.Result = {
|
|
4
|
+
Measuring: "measuring",
|
|
5
|
+
InProgress: "in_progress",
|
|
6
|
+
RolledBack: "rolled_back",
|
|
7
|
+
TooEarly: "too_early",
|
|
8
|
+
NeedsReview: "needs_review",
|
|
9
|
+
Improved: "improved",
|
|
10
|
+
Changed: "changed"
|
|
11
|
+
};
|
|
12
|
+
})(ImpactWorkloadDetail || (ImpactWorkloadDetail = {}));
|
|
13
|
+
export {
|
|
14
|
+
ImpactWorkloadDetail
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=ImpactWorkloadDetail.mjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var ImpactWorkloadListResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWorkloadListResponse_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWorkloadListResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWorkloadListResponse.mjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var ImpactWorkloadResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWorkloadResponse_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWorkloadResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWorkloadResponse.mjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var ImpactWorkloads_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWorkloads_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWorkloads.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWorkloads.mjs.map
|
|
@@ -9,6 +9,8 @@ export interface NamespaceAutomation {
|
|
|
9
9
|
resize_enabled: boolean;
|
|
10
10
|
/** The person who turned in-place resize on */
|
|
11
11
|
resize_enabled_by?: (string | null) | undefined;
|
|
12
|
+
/** Who turned in-place resize on in this namespace: object (a configuration object turned on a workload of it), dashboard, or off. Same rule as the answer to the component's sync, so it is off wherever the sync leaves the namespace out: automation paused, recommendations off, the levelfour.ai/automation=off label, another tool sizing it, or a takeover not finished. With the cluster's switch off, only an object counts. An object LevelFour can't read is left out, though the component still follows it. permitted says whether the component may act in the namespace. Null while the component is not reporting, and on every other route */
|
|
13
|
+
resize_in_force?: (NamespaceAutomation.ResizeInForce | null) | undefined;
|
|
12
14
|
automerge_classes: NamespaceAutomation.AutomergeClasses.Item[];
|
|
13
15
|
/** The person who turned auto-merge on */
|
|
14
16
|
automerge_enabled_by?: (string | null) | undefined;
|
|
@@ -58,6 +60,12 @@ export declare namespace NamespaceAutomation {
|
|
|
58
60
|
readonly Default: "default";
|
|
59
61
|
};
|
|
60
62
|
type ScopeSource = (typeof ScopeSource)[keyof typeof ScopeSource];
|
|
63
|
+
const ResizeInForce: {
|
|
64
|
+
readonly Object: "object";
|
|
65
|
+
readonly Dashboard: "dashboard";
|
|
66
|
+
readonly Off: "off";
|
|
67
|
+
};
|
|
68
|
+
type ResizeInForce = (typeof ResizeInForce)[keyof typeof ResizeInForce];
|
|
61
69
|
type AutomergeClasses = AutomergeClasses.Item[];
|
|
62
70
|
namespace AutomergeClasses {
|
|
63
71
|
const Item: {
|
|
@@ -9,6 +9,8 @@ export interface NamespaceAutomation {
|
|
|
9
9
|
resize_enabled: boolean;
|
|
10
10
|
/** The person who turned in-place resize on */
|
|
11
11
|
resize_enabled_by?: (string | null) | undefined;
|
|
12
|
+
/** Who turned in-place resize on in this namespace: object (a configuration object turned on a workload of it), dashboard, or off. Same rule as the answer to the component's sync, so it is off wherever the sync leaves the namespace out: automation paused, recommendations off, the levelfour.ai/automation=off label, another tool sizing it, or a takeover not finished. With the cluster's switch off, only an object counts. An object LevelFour can't read is left out, though the component still follows it. permitted says whether the component may act in the namespace. Null while the component is not reporting, and on every other route */
|
|
13
|
+
resize_in_force?: (NamespaceAutomation.ResizeInForce | null) | undefined;
|
|
12
14
|
automerge_classes: NamespaceAutomation.AutomergeClasses.Item[];
|
|
13
15
|
/** The person who turned auto-merge on */
|
|
14
16
|
automerge_enabled_by?: (string | null) | undefined;
|
|
@@ -58,6 +60,12 @@ export declare namespace NamespaceAutomation {
|
|
|
58
60
|
readonly Default: "default";
|
|
59
61
|
};
|
|
60
62
|
type ScopeSource = (typeof ScopeSource)[keyof typeof ScopeSource];
|
|
63
|
+
const ResizeInForce: {
|
|
64
|
+
readonly Object: "object";
|
|
65
|
+
readonly Dashboard: "dashboard";
|
|
66
|
+
readonly Off: "off";
|
|
67
|
+
};
|
|
68
|
+
type ResizeInForce = (typeof ResizeInForce)[keyof typeof ResizeInForce];
|
|
61
69
|
type AutomergeClasses = AutomergeClasses.Item[];
|
|
62
70
|
namespace AutomergeClasses {
|
|
63
71
|
const Item: {
|
|
@@ -35,6 +35,11 @@ var NamespaceAutomation;
|
|
|
35
35
|
Object: "object",
|
|
36
36
|
Default: "default"
|
|
37
37
|
};
|
|
38
|
+
NamespaceAutomation2.ResizeInForce = {
|
|
39
|
+
Object: "object",
|
|
40
|
+
Dashboard: "dashboard",
|
|
41
|
+
Off: "off"
|
|
42
|
+
};
|
|
38
43
|
let AutomergeClasses;
|
|
39
44
|
((AutomergeClasses2) => {
|
|
40
45
|
AutomergeClasses2.Item = {
|
|
@@ -12,6 +12,11 @@ var NamespaceAutomation;
|
|
|
12
12
|
Object: "object",
|
|
13
13
|
Default: "default"
|
|
14
14
|
};
|
|
15
|
+
NamespaceAutomation2.ResizeInForce = {
|
|
16
|
+
Object: "object",
|
|
17
|
+
Dashboard: "dashboard",
|
|
18
|
+
Off: "off"
|
|
19
|
+
};
|
|
15
20
|
let AutomergeClasses;
|
|
16
21
|
((AutomergeClasses2) => {
|
|
17
22
|
AutomergeClasses2.Item = {
|
|
@@ -8,8 +8,10 @@ export interface NamespaceItem {
|
|
|
8
8
|
automation_step?: (NamespaceItem.AutomationStep | null) | undefined;
|
|
9
9
|
/** Why a blocked step cannot act: no automation component, a component that stopped reporting, the cluster's rightsizing off, another tool sizing the namespace, the levelfour.ai/automation=off label, the Helm install's namespaces leaving it out, or the approver gone; null unless blocked */
|
|
10
10
|
automation_blocked_by?: (NamespaceItem.AutomationBlockedBy | null) | undefined;
|
|
11
|
-
/** What the namespace'
|
|
11
|
+
/** What the namespace can save now a month: the sum of GET /savings' own items in it, a stopped workload at what its item is (the NodePool or node group it alone held included, its pods on a node that would go left out), its published recommendations and its orphaned claims. The nodes two or more stopped workloads hold and a NodePool's or node group's saving are their cluster's alone, so the namespaces add up to their cluster's available_savings_monthly less the Savings tab's nodes section */
|
|
12
12
|
available_savings_monthly?: (number | null) | undefined;
|
|
13
|
+
/** The same, net of the enterprise discount: GET /savings' monthly_net of the namespace's items */
|
|
14
|
+
available_savings_monthly_net?: (number | null) | undefined;
|
|
13
15
|
name: string;
|
|
14
16
|
/** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
|
|
15
17
|
kind: NamespaceItem.Kind;
|
|
@@ -8,8 +8,10 @@ export interface NamespaceItem {
|
|
|
8
8
|
automation_step?: (NamespaceItem.AutomationStep | null) | undefined;
|
|
9
9
|
/** Why a blocked step cannot act: no automation component, a component that stopped reporting, the cluster's rightsizing off, another tool sizing the namespace, the levelfour.ai/automation=off label, the Helm install's namespaces leaving it out, or the approver gone; null unless blocked */
|
|
10
10
|
automation_blocked_by?: (NamespaceItem.AutomationBlockedBy | null) | undefined;
|
|
11
|
-
/** What the namespace'
|
|
11
|
+
/** What the namespace can save now a month: the sum of GET /savings' own items in it, a stopped workload at what its item is (the NodePool or node group it alone held included, its pods on a node that would go left out), its published recommendations and its orphaned claims. The nodes two or more stopped workloads hold and a NodePool's or node group's saving are their cluster's alone, so the namespaces add up to their cluster's available_savings_monthly less the Savings tab's nodes section */
|
|
12
12
|
available_savings_monthly?: (number | null) | undefined;
|
|
13
|
+
/** The same, net of the enterprise discount: GET /savings' monthly_net of the namespace's items */
|
|
14
|
+
available_savings_monthly_net?: (number | null) | undefined;
|
|
13
15
|
name: string;
|
|
14
16
|
/** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
|
|
15
17
|
kind: NamespaceItem.Kind;
|
|
@@ -21,6 +21,8 @@ export interface ProviderBreakdownItem {
|
|
|
21
21
|
cluster_name?: (string | null) | undefined;
|
|
22
22
|
/** Monthly savings amount */
|
|
23
23
|
monthly_savings: number;
|
|
24
|
+
/** What the saving saves a month net of discounts: the worker's net for a Kubernetes saving, as GET /k8s/savings reads it, else monthly_savings. The one figure the row, the drawer and the Kubernetes tab show (dashboard#1696) */
|
|
25
|
+
monthly_savings_net?: (number | null) | undefined;
|
|
24
26
|
/** Savings as percentage of current spending */
|
|
25
27
|
savings_percentage: number;
|
|
26
28
|
/** What this batch parent's children save. Null on any other row */
|