levelfour 1.16.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/BlockedNamespace.d.mts +9 -0
- package/dist/api/types/BlockedNamespace.d.ts +9 -0
- package/dist/api/types/BlockedNamespace.js +17 -0
- package/dist/api/types/BlockedNamespace.mjs +1 -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 +7 -3
- package/dist/api/types/ClusterItem.d.ts +7 -3
- package/dist/api/types/ClusterLevers.d.mts +2 -2
- package/dist/api/types/ClusterLevers.d.ts +2 -2
- package/dist/api/types/ClusterSummary.d.mts +5 -1
- package/dist/api/types/ClusterSummary.d.ts +5 -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/FailingShare.d.mts +1 -1
- package/dist/api/types/FailingShare.d.ts +1 -1
- 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 +4 -0
- package/dist/api/types/FleetConsolidationLever.d.ts +4 -0
- package/dist/api/types/FleetLever.d.mts +2 -0
- package/dist/api/types/FleetLever.d.ts +2 -0
- package/dist/api/types/FleetLevers.d.mts +1 -1
- package/dist/api/types/FleetLevers.d.ts +1 -1
- package/dist/api/types/FleetNamespace.d.mts +3 -1
- package/dist/api/types/FleetNamespace.d.ts +3 -1
- package/dist/api/types/FleetRightsizingLever.d.mts +20 -0
- package/dist/api/types/FleetRightsizingLever.d.ts +20 -0
- package/dist/api/types/FleetRightsizingLever.js +17 -0
- package/dist/api/types/FleetRightsizingLever.mjs +1 -0
- package/dist/api/types/FleetSummary.d.mts +5 -1
- package/dist/api/types/FleetSummary.d.ts +5 -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/Indicator.d.mts +16 -1
- package/dist/api/types/Indicator.d.ts +16 -1
- package/dist/api/types/Indicator.js +12 -0
- package/dist/api/types/Indicator.mjs +12 -0
- package/dist/api/types/IndicatorCount.d.mts +1 -0
- package/dist/api/types/IndicatorCount.d.ts +1 -0
- package/dist/api/types/IndicatorCount.js +1 -0
- package/dist/api/types/IndicatorCount.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/NoReadyShare.d.mts +1 -1
- package/dist/api/types/NoReadyShare.d.ts +1 -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/RightsizingLever.d.mts +21 -0
- package/dist/api/types/RightsizingLever.d.ts +21 -0
- package/dist/api/types/RightsizingLever.js +17 -0
- package/dist/api/types/RightsizingLever.mjs +1 -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 +7 -1
- package/dist/api/types/SavingsMissing.d.ts +7 -1
- 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 +12 -1
- package/dist/api/types/SavingsNow.d.ts +12 -1
- 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 +45 -0
- package/dist/api/types/index.d.ts +45 -0
- package/dist/api/types/index.js +90 -0
- package/dist/api/types/index.mjs +45 -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,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How many held nodes end one way once their changes land (dashboard#1689).
|
|
3
|
+
*/
|
|
4
|
+
export interface HeldOutcome {
|
|
5
|
+
/** goes (it goes once its changes land, the nodes_would_free); covered (an open recommendation covers it, so its cost counts there); the node_kept_reason it stays for (pods_need_room, pool_removes_only_empty, pool_never_consolidates, autoscaler_threshold); the node_not_known_reason it is not known for (not_worked_out, pool_not_reported, budget_not_reported); unknown for a node that would stay with no reason given. A code the reader does not know reads as not known */
|
|
6
|
+
outcome: string;
|
|
7
|
+
/** The held nodes with this outcome */
|
|
8
|
+
nodes: number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How many held nodes end one way once their changes land (dashboard#1689).
|
|
3
|
+
*/
|
|
4
|
+
export interface HeldOutcome {
|
|
5
|
+
/** goes (it goes once its changes land, the nodes_would_free); covered (an open recommendation covers it, so its cost counts there); the node_kept_reason it stays for (pods_need_room, pool_removes_only_empty, pool_never_consolidates, autoscaler_threshold); the node_not_known_reason it is not known for (not_worked_out, pool_not_reported, budget_not_reported); unknown for a node that would stay with no reason given. A code the reader does not know reads as not known */
|
|
6
|
+
outcome: string;
|
|
7
|
+
/** The held nodes with this outcome */
|
|
8
|
+
nodes: number;
|
|
9
|
+
}
|
|
@@ -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 HeldOutcome_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(HeldOutcome_exports);
|
|
17
|
+
//# sourceMappingURL=HeldOutcome.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=HeldOutcome.mjs.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface Impact {
|
|
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
|
+
/** acting once a change reached a pod, measuring while a workload is measured before its first one, off otherwise */
|
|
17
|
+
state: Impact.State;
|
|
18
|
+
scope: LevelFour.ImpactScope;
|
|
19
|
+
measured_through?: (LevelFour.ImpactMeasuredThrough | null) | undefined;
|
|
20
|
+
/** Of the namespaces of the scope on now, the one turned on first in LevelFour: its newest change from off, or from a preview, to on. A preview changes nothing, so it turns none on. Null where no such change was recorded: a configuration object that turns one on records none */
|
|
21
|
+
automated_since?: (string | null) | undefined;
|
|
22
|
+
changes?: (LevelFour.ImpactChanges | null) | undefined;
|
|
23
|
+
/** A projection, only while nothing changed yet, and null with fewer than 3 days priced */
|
|
24
|
+
waste_monthly_pace_usd?: (LevelFour.ImpactPace | null) | undefined;
|
|
25
|
+
/** The Saved view's own figures for every connected cluster asked about, one no other figure counts included. Null for a namespace */
|
|
26
|
+
saved_by_pull_request?: (LevelFour.ImpactSaved | null) | undefined;
|
|
27
|
+
/** Always null: what the automation's own changes took off the bill is not measured */
|
|
28
|
+
automation_saved?: (number | null) | undefined;
|
|
29
|
+
/** 90 days ending yesterday, oldest first, of the resource asked for. The only cluster asked about keeps the days it was watched once it stopped; null with nothing changed and nothing being measured */
|
|
30
|
+
series?: (LevelFour.ImpactPoint[] | null) | undefined;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace Impact {
|
|
33
|
+
/** acting once a change reached a pod, measuring while a workload is measured before its first one, off otherwise */
|
|
34
|
+
const State: {
|
|
35
|
+
readonly Off: "off";
|
|
36
|
+
readonly Measuring: "measuring";
|
|
37
|
+
readonly Acting: "acting";
|
|
38
|
+
};
|
|
39
|
+
type State = (typeof State)[keyof typeof State];
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface Impact {
|
|
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
|
+
/** acting once a change reached a pod, measuring while a workload is measured before its first one, off otherwise */
|
|
17
|
+
state: Impact.State;
|
|
18
|
+
scope: LevelFour.ImpactScope;
|
|
19
|
+
measured_through?: (LevelFour.ImpactMeasuredThrough | null) | undefined;
|
|
20
|
+
/** Of the namespaces of the scope on now, the one turned on first in LevelFour: its newest change from off, or from a preview, to on. A preview changes nothing, so it turns none on. Null where no such change was recorded: a configuration object that turns one on records none */
|
|
21
|
+
automated_since?: (string | null) | undefined;
|
|
22
|
+
changes?: (LevelFour.ImpactChanges | null) | undefined;
|
|
23
|
+
/** A projection, only while nothing changed yet, and null with fewer than 3 days priced */
|
|
24
|
+
waste_monthly_pace_usd?: (LevelFour.ImpactPace | null) | undefined;
|
|
25
|
+
/** The Saved view's own figures for every connected cluster asked about, one no other figure counts included. Null for a namespace */
|
|
26
|
+
saved_by_pull_request?: (LevelFour.ImpactSaved | null) | undefined;
|
|
27
|
+
/** Always null: what the automation's own changes took off the bill is not measured */
|
|
28
|
+
automation_saved?: (number | null) | undefined;
|
|
29
|
+
/** 90 days ending yesterday, oldest first, of the resource asked for. The only cluster asked about keeps the days it was watched once it stopped; null with nothing changed and nothing being measured */
|
|
30
|
+
series?: (LevelFour.ImpactPoint[] | null) | undefined;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace Impact {
|
|
33
|
+
/** acting once a change reached a pod, measuring while a workload is measured before its first one, off otherwise */
|
|
34
|
+
const State: {
|
|
35
|
+
readonly Off: "off";
|
|
36
|
+
readonly Measuring: "measuring";
|
|
37
|
+
readonly Acting: "acting";
|
|
38
|
+
};
|
|
39
|
+
type State = (typeof State)[keyof typeof State];
|
|
40
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 Impact_exports = {};
|
|
20
|
+
__export(Impact_exports, {
|
|
21
|
+
Impact: () => Impact
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(Impact_exports);
|
|
24
|
+
var Impact;
|
|
25
|
+
((Impact2) => {
|
|
26
|
+
Impact2.State = {
|
|
27
|
+
Off: "off",
|
|
28
|
+
Measuring: "measuring",
|
|
29
|
+
Acting: "acting"
|
|
30
|
+
};
|
|
31
|
+
})(Impact || (Impact = {}));
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
Impact
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=Impact.js.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 ImpactBeforeNow_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactBeforeNow_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactBeforeNow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactBeforeNow.mjs.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface ImpactChange {
|
|
2
|
+
/** The row's own: the action's for a change, derived from it for its way back */
|
|
3
|
+
id: string;
|
|
4
|
+
action_id: string;
|
|
5
|
+
what: ImpactChange.What;
|
|
6
|
+
/** The change's number in the order they reached the workload */
|
|
7
|
+
n: number;
|
|
8
|
+
occurred_at: string;
|
|
9
|
+
cluster_id: string;
|
|
10
|
+
cluster_name: string;
|
|
11
|
+
namespace: string;
|
|
12
|
+
kind: string;
|
|
13
|
+
name: string;
|
|
14
|
+
container: string;
|
|
15
|
+
resource: ImpactChange.Resource;
|
|
16
|
+
before?: (number | null) | undefined;
|
|
17
|
+
after?: (number | null) | undefined;
|
|
18
|
+
/** Why it was asked for, by the code the activity log gives its event. Null on a way back */
|
|
19
|
+
reason?: (string | null) | undefined;
|
|
20
|
+
result: ImpactChange.Result;
|
|
21
|
+
/** Where the action stands now */
|
|
22
|
+
status: string;
|
|
23
|
+
/** The person LevelFour verified. Null on a way back */
|
|
24
|
+
approved_by?: (string | null) | undefined;
|
|
25
|
+
/** Who the object that turned it on declares, which anyone who may write the object can set */
|
|
26
|
+
approved_by_declared?: (string | null) | undefined;
|
|
27
|
+
/** The event that opens the activity log at this row */
|
|
28
|
+
event_id: string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace ImpactChange {
|
|
31
|
+
const What: {
|
|
32
|
+
readonly Applied: "applied";
|
|
33
|
+
readonly RolledBack: "rolled_back";
|
|
34
|
+
};
|
|
35
|
+
type What = (typeof What)[keyof typeof What];
|
|
36
|
+
const Resource: {
|
|
37
|
+
readonly CpuMilli: "cpu_milli";
|
|
38
|
+
readonly MemoryBytes: "memory_bytes";
|
|
39
|
+
};
|
|
40
|
+
type Resource = (typeof Resource)[keyof typeof Resource];
|
|
41
|
+
const Result: {
|
|
42
|
+
readonly RolledBack: "rolled_back";
|
|
43
|
+
readonly InProgress: "in_progress";
|
|
44
|
+
readonly Changed: "changed";
|
|
45
|
+
};
|
|
46
|
+
type Result = (typeof Result)[keyof typeof Result];
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface ImpactChange {
|
|
2
|
+
/** The row's own: the action's for a change, derived from it for its way back */
|
|
3
|
+
id: string;
|
|
4
|
+
action_id: string;
|
|
5
|
+
what: ImpactChange.What;
|
|
6
|
+
/** The change's number in the order they reached the workload */
|
|
7
|
+
n: number;
|
|
8
|
+
occurred_at: string;
|
|
9
|
+
cluster_id: string;
|
|
10
|
+
cluster_name: string;
|
|
11
|
+
namespace: string;
|
|
12
|
+
kind: string;
|
|
13
|
+
name: string;
|
|
14
|
+
container: string;
|
|
15
|
+
resource: ImpactChange.Resource;
|
|
16
|
+
before?: (number | null) | undefined;
|
|
17
|
+
after?: (number | null) | undefined;
|
|
18
|
+
/** Why it was asked for, by the code the activity log gives its event. Null on a way back */
|
|
19
|
+
reason?: (string | null) | undefined;
|
|
20
|
+
result: ImpactChange.Result;
|
|
21
|
+
/** Where the action stands now */
|
|
22
|
+
status: string;
|
|
23
|
+
/** The person LevelFour verified. Null on a way back */
|
|
24
|
+
approved_by?: (string | null) | undefined;
|
|
25
|
+
/** Who the object that turned it on declares, which anyone who may write the object can set */
|
|
26
|
+
approved_by_declared?: (string | null) | undefined;
|
|
27
|
+
/** The event that opens the activity log at this row */
|
|
28
|
+
event_id: string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace ImpactChange {
|
|
31
|
+
const What: {
|
|
32
|
+
readonly Applied: "applied";
|
|
33
|
+
readonly RolledBack: "rolled_back";
|
|
34
|
+
};
|
|
35
|
+
type What = (typeof What)[keyof typeof What];
|
|
36
|
+
const Resource: {
|
|
37
|
+
readonly CpuMilli: "cpu_milli";
|
|
38
|
+
readonly MemoryBytes: "memory_bytes";
|
|
39
|
+
};
|
|
40
|
+
type Resource = (typeof Resource)[keyof typeof Resource];
|
|
41
|
+
const Result: {
|
|
42
|
+
readonly RolledBack: "rolled_back";
|
|
43
|
+
readonly InProgress: "in_progress";
|
|
44
|
+
readonly Changed: "changed";
|
|
45
|
+
};
|
|
46
|
+
type Result = (typeof Result)[keyof typeof Result];
|
|
47
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ImpactChange_exports = {};
|
|
20
|
+
__export(ImpactChange_exports, {
|
|
21
|
+
ImpactChange: () => ImpactChange
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(ImpactChange_exports);
|
|
24
|
+
var ImpactChange;
|
|
25
|
+
((ImpactChange2) => {
|
|
26
|
+
ImpactChange2.What = {
|
|
27
|
+
Applied: "applied",
|
|
28
|
+
RolledBack: "rolled_back"
|
|
29
|
+
};
|
|
30
|
+
ImpactChange2.Resource = {
|
|
31
|
+
CpuMilli: "cpu_milli",
|
|
32
|
+
MemoryBytes: "memory_bytes"
|
|
33
|
+
};
|
|
34
|
+
ImpactChange2.Result = {
|
|
35
|
+
RolledBack: "rolled_back",
|
|
36
|
+
InProgress: "in_progress",
|
|
37
|
+
Changed: "changed"
|
|
38
|
+
};
|
|
39
|
+
})(ImpactChange || (ImpactChange = {}));
|
|
40
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
+
0 && (module.exports = {
|
|
42
|
+
ImpactChange
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=ImpactChange.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var ImpactChange;
|
|
2
|
+
((ImpactChange2) => {
|
|
3
|
+
ImpactChange2.What = {
|
|
4
|
+
Applied: "applied",
|
|
5
|
+
RolledBack: "rolled_back"
|
|
6
|
+
};
|
|
7
|
+
ImpactChange2.Resource = {
|
|
8
|
+
CpuMilli: "cpu_milli",
|
|
9
|
+
MemoryBytes: "memory_bytes"
|
|
10
|
+
};
|
|
11
|
+
ImpactChange2.Result = {
|
|
12
|
+
RolledBack: "rolled_back",
|
|
13
|
+
InProgress: "in_progress",
|
|
14
|
+
Changed: "changed"
|
|
15
|
+
};
|
|
16
|
+
})(ImpactChange || (ImpactChange = {}));
|
|
17
|
+
export {
|
|
18
|
+
ImpactChange
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=ImpactChange.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 ImpactChangeList_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactChangeList_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactChangeList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactChangeList.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 ImpactChangeListResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactChangeListResponse_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactChangeListResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactChangeListResponse.mjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ImpactChanges {
|
|
2
|
+
/** The changes that reached a pod in the days the series draws and today, each once however many pods took it. One of a workload since removed, or of a pull-request environment, counts */
|
|
3
|
+
applied: number;
|
|
4
|
+
/** The changes that went back in the same days, on the day they did: one applied before them counts here and not in applied */
|
|
5
|
+
rolled_back: number;
|
|
6
|
+
/** The containers whose pods a stop put back in the same days. It is no change of its own, so it never adds into rolled_back */
|
|
7
|
+
rolled_back_by_stop: number;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ImpactChanges {
|
|
2
|
+
/** The changes that reached a pod in the days the series draws and today, each once however many pods took it. One of a workload since removed, or of a pull-request environment, counts */
|
|
3
|
+
applied: number;
|
|
4
|
+
/** The changes that went back in the same days, on the day they did: one applied before them counts here and not in applied */
|
|
5
|
+
rolled_back: number;
|
|
6
|
+
/** The containers whose pods a stop put back in the same days. It is no change of its own, so it never adds into rolled_back */
|
|
7
|
+
rolled_back_by_stop: number;
|
|
8
|
+
}
|
|
@@ -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 ImpactChanges_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactChanges_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactChanges.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactChanges.mjs.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface ImpactCluster {
|
|
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
|
+
name: string;
|
|
10
|
+
/** A month, as the Saved view has it for the cluster */
|
|
11
|
+
saved_usd?: (number | null) | undefined;
|
|
12
|
+
first_report_day?: (string | null) | undefined;
|
|
13
|
+
/** Why no total counts it; every figure of the row is then null */
|
|
14
|
+
excluded_reason?: (ImpactCluster.ExcludedReason | null) | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace ImpactCluster {
|
|
17
|
+
const ExcludedReason: {
|
|
18
|
+
readonly Stopped: "stopped";
|
|
19
|
+
readonly NoComponent: "no_component";
|
|
20
|
+
};
|
|
21
|
+
type ExcludedReason = (typeof ExcludedReason)[keyof typeof ExcludedReason];
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface ImpactCluster {
|
|
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
|
+
name: string;
|
|
10
|
+
/** A month, as the Saved view has it for the cluster */
|
|
11
|
+
saved_usd?: (number | null) | undefined;
|
|
12
|
+
first_report_day?: (string | null) | undefined;
|
|
13
|
+
/** Why no total counts it; every figure of the row is then null */
|
|
14
|
+
excluded_reason?: (ImpactCluster.ExcludedReason | null) | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace ImpactCluster {
|
|
17
|
+
const ExcludedReason: {
|
|
18
|
+
readonly Stopped: "stopped";
|
|
19
|
+
readonly NoComponent: "no_component";
|
|
20
|
+
};
|
|
21
|
+
type ExcludedReason = (typeof ExcludedReason)[keyof typeof ExcludedReason];
|
|
22
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 ImpactCluster_exports = {};
|
|
20
|
+
__export(ImpactCluster_exports, {
|
|
21
|
+
ImpactCluster: () => ImpactCluster
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(ImpactCluster_exports);
|
|
24
|
+
var ImpactCluster;
|
|
25
|
+
((ImpactCluster2) => {
|
|
26
|
+
ImpactCluster2.ExcludedReason = {
|
|
27
|
+
Stopped: "stopped",
|
|
28
|
+
NoComponent: "no_component"
|
|
29
|
+
};
|
|
30
|
+
})(ImpactCluster || (ImpactCluster = {}));
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
ImpactCluster
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=ImpactCluster.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var ImpactCluster;
|
|
2
|
+
((ImpactCluster2) => {
|
|
3
|
+
ImpactCluster2.ExcludedReason = {
|
|
4
|
+
Stopped: "stopped",
|
|
5
|
+
NoComponent: "no_component"
|
|
6
|
+
};
|
|
7
|
+
})(ImpactCluster || (ImpactCluster = {}));
|
|
8
|
+
export {
|
|
9
|
+
ImpactCluster
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=ImpactCluster.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 ImpactClusterListResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactClusterListResponse_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactClusterListResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactClusterListResponse.mjs.map
|