levelfour 1.6.0 → 1.7.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/Client.d.mts +3 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +25 -20
- package/dist/Client.mjs +5 -0
- package/dist/api/resources/boards/client/Client.d.mts +3 -2
- package/dist/api/resources/boards/client/Client.d.ts +3 -2
- package/dist/api/resources/boards/client/Client.js +10 -5
- package/dist/api/resources/boards/client/Client.mjs +10 -5
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.d.mts +8 -0
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.d.ts +8 -0
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.js +17 -0
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.mjs +1 -0
- package/dist/api/resources/boards/client/requests/index.d.mts +1 -0
- package/dist/api/resources/boards/client/requests/index.d.ts +1 -0
- package/dist/api/resources/index.d.mts +3 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +8 -1
- package/dist/api/resources/index.mjs +4 -0
- package/dist/api/resources/kubernetes/client/Client.d.mts +54 -0
- package/dist/api/resources/kubernetes/client/Client.d.ts +54 -0
- package/dist/api/resources/kubernetes/client/Client.js +251 -0
- package/dist/api/resources/kubernetes/client/Client.mjs +217 -0
- package/dist/api/resources/kubernetes/client/index.d.mts +1 -0
- package/dist/api/resources/kubernetes/client/index.d.ts +1 -0
- package/dist/api/resources/kubernetes/client/index.js +23 -0
- package/dist/api/resources/kubernetes/client/index.mjs +2 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.d.mts +9 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.d.ts +9 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.js +17 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.mjs +1 -0
- package/dist/api/resources/kubernetes/client/requests/index.d.mts +1 -0
- package/dist/api/resources/kubernetes/client/requests/index.d.ts +1 -0
- package/dist/api/resources/kubernetes/client/requests/index.js +17 -0
- package/dist/api/resources/kubernetes/client/requests/index.mjs +1 -0
- package/dist/api/resources/kubernetes/exports.d.mts +2 -0
- package/dist/api/resources/kubernetes/exports.d.ts +2 -0
- package/dist/api/resources/kubernetes/exports.js +32 -0
- package/dist/api/resources/kubernetes/exports.mjs +6 -0
- package/dist/api/resources/kubernetes/index.d.mts +1 -0
- package/dist/api/resources/kubernetes/index.d.ts +1 -0
- package/dist/api/resources/kubernetes/index.js +23 -0
- package/dist/api/resources/kubernetes/index.mjs +2 -0
- package/dist/api/resources/workspace/client/Client.d.mts +2 -1
- package/dist/api/resources/workspace/client/Client.d.ts +2 -1
- package/dist/api/resources/workspace/client/Client.js +7 -3
- package/dist/api/resources/workspace/client/Client.mjs +7 -3
- package/dist/api/resources/workspace/client/index.d.mts +1 -1
- package/dist/api/resources/workspace/client/index.d.ts +1 -1
- package/dist/api/resources/workspace/client/index.js +6 -0
- package/dist/api/resources/workspace/client/index.mjs +1 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.d.mts +23 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.d.ts +23 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.js +39 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.mjs +15 -0
- package/dist/api/resources/workspace/client/requests/index.d.mts +1 -0
- package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspace/client/requests/index.js +29 -0
- package/dist/api/resources/workspace/client/requests/index.mjs +5 -0
- package/dist/api/types/AccountItem.d.mts +4 -0
- package/dist/api/types/AccountItem.d.ts +4 -0
- package/dist/api/types/AutomationAction.d.mts +33 -1
- package/dist/api/types/AutomationAction.d.ts +33 -1
- package/dist/api/types/AutomationAction.js +31 -3
- package/dist/api/types/AutomationAction.mjs +31 -3
- package/dist/api/types/AutomationComponent.d.mts +6 -0
- package/dist/api/types/AutomationComponent.d.ts +6 -0
- package/dist/api/types/AutomationEvent.d.mts +13 -0
- package/dist/api/types/AutomationEvent.d.ts +13 -0
- package/dist/api/types/AutomationEvent.js +21 -0
- package/dist/api/types/AutomationEvent.mjs +13 -0
- package/dist/api/types/AutomationEventList.d.mts +3 -1
- package/dist/api/types/AutomationEventList.d.ts +3 -1
- package/dist/api/types/AutomationSettings.d.mts +9 -0
- package/dist/api/types/AutomationSettings.d.ts +9 -0
- package/dist/api/types/AutoscalerCounts.d.mts +8 -0
- package/dist/api/types/AutoscalerCounts.d.ts +8 -0
- package/dist/api/types/AutoscalerCounts.js +17 -0
- package/dist/api/types/AutoscalerCounts.mjs +1 -0
- package/dist/api/types/Board.d.mts +1 -1
- package/dist/api/types/Board.d.ts +1 -1
- package/dist/api/types/BothBasesTotals.d.mts +5 -0
- package/dist/api/types/BothBasesTotals.d.ts +5 -0
- package/dist/api/types/BothBasesTotals.js +17 -0
- package/dist/api/types/BothBasesTotals.mjs +1 -0
- package/dist/api/types/ClusterAutomation.d.mts +1 -0
- package/dist/api/types/ClusterAutomation.d.ts +1 -0
- package/dist/api/types/ClusterConfig.d.mts +15 -0
- package/dist/api/types/ClusterConfig.d.ts +15 -0
- package/dist/api/types/ClusterConfig.js +17 -0
- package/dist/api/types/ClusterConfig.mjs +1 -0
- package/dist/api/types/ClusterFilterOptions.d.mts +5 -0
- package/dist/api/types/ClusterFilterOptions.d.ts +5 -0
- package/dist/api/types/ClusterItem.d.mts +22 -0
- package/dist/api/types/ClusterItem.d.ts +22 -0
- package/dist/api/types/ClusterSummary.d.mts +16 -0
- package/dist/api/types/ClusterSummary.d.ts +16 -0
- package/dist/api/types/ComputeMonth.d.mts +10 -0
- package/dist/api/types/ComputeMonth.d.ts +10 -0
- package/dist/api/types/ComputeMonth.js +17 -0
- package/dist/api/types/ComputeMonth.mjs +1 -0
- package/dist/api/types/ConfigLock.d.mts +6 -0
- package/dist/api/types/ConfigLock.d.ts +6 -0
- package/dist/api/types/ConfigLock.js +17 -0
- package/dist/api/types/ConfigLock.mjs +1 -0
- package/dist/api/types/ConfigObjectView.d.mts +41 -0
- package/dist/api/types/ConfigObjectView.d.ts +41 -0
- package/dist/api/types/ConfigObjectView.js +48 -0
- package/dist/api/types/ConfigObjectView.mjs +24 -0
- package/dist/api/types/ConfigTarget.d.mts +12 -0
- package/dist/api/types/ConfigTarget.d.ts +12 -0
- package/dist/api/types/ConfigTarget.js +36 -0
- package/dist/api/types/ConfigTarget.mjs +12 -0
- package/dist/api/types/ContainerDetail.d.mts +2 -0
- package/dist/api/types/ContainerDetail.d.ts +2 -0
- package/dist/api/types/CostGroup.d.mts +2 -0
- package/dist/api/types/CostGroup.d.ts +2 -0
- package/dist/api/types/CostPair.d.mts +6 -0
- package/dist/api/types/CostPair.d.ts +6 -0
- package/dist/api/types/CostPair.js +17 -0
- package/dist/api/types/CostPair.mjs +1 -0
- package/dist/api/types/DatadogHygieneData.d.mts +1 -1
- package/dist/api/types/DatadogHygieneData.d.ts +1 -1
- package/dist/api/types/DatadogHygieneRule.d.mts +3 -1
- package/dist/api/types/DatadogHygieneRule.d.ts +3 -1
- package/dist/api/types/EfficiencyPoint.d.mts +6 -0
- package/dist/api/types/EfficiencyPoint.d.ts +6 -0
- package/dist/api/types/EksAddon.d.mts +7 -0
- package/dist/api/types/EksAddon.d.ts +7 -0
- package/dist/api/types/EksAddon.js +17 -0
- package/dist/api/types/EksAddon.mjs +1 -0
- package/dist/api/types/EksCluster.d.mts +34 -0
- package/dist/api/types/EksCluster.d.ts +34 -0
- package/dist/api/types/EksCluster.js +42 -0
- package/dist/api/types/EksCluster.mjs +18 -0
- package/dist/api/types/EksClusterConfig.d.mts +29 -0
- package/dist/api/types/EksClusterConfig.d.ts +29 -0
- package/dist/api/types/EksClusterConfig.js +17 -0
- package/dist/api/types/EksClusterConfig.mjs +1 -0
- package/dist/api/types/EksClusterResponse.d.mts +6 -0
- package/dist/api/types/EksClusterResponse.d.ts +6 -0
- package/dist/api/types/EksClusterResponse.js +17 -0
- package/dist/api/types/EksClusterResponse.mjs +1 -0
- package/dist/api/types/EksFleetData.d.mts +4 -0
- package/dist/api/types/EksFleetData.d.ts +4 -0
- package/dist/api/types/EksFleetData.js +17 -0
- package/dist/api/types/EksFleetData.mjs +1 -0
- package/dist/api/types/EksFleetResponse.d.mts +6 -0
- package/dist/api/types/EksFleetResponse.d.ts +6 -0
- package/dist/api/types/EksFleetResponse.js +17 -0
- package/dist/api/types/EksFleetResponse.mjs +1 -0
- package/dist/api/types/EksHealthIssue.d.mts +4 -0
- package/dist/api/types/EksHealthIssue.d.ts +4 -0
- package/dist/api/types/EksHealthIssue.js +17 -0
- package/dist/api/types/EksHealthIssue.mjs +1 -0
- package/dist/api/types/EksInsight.d.mts +9 -0
- package/dist/api/types/EksInsight.d.ts +9 -0
- package/dist/api/types/EksInsight.js +17 -0
- package/dist/api/types/EksInsight.mjs +1 -0
- package/dist/api/types/EksLogging.d.mts +7 -0
- package/dist/api/types/EksLogging.d.ts +7 -0
- package/dist/api/types/EksLogging.js +17 -0
- package/dist/api/types/EksLogging.mjs +1 -0
- package/dist/api/types/EksNetworking.d.mts +9 -0
- package/dist/api/types/EksNetworking.d.ts +9 -0
- package/dist/api/types/EksNetworking.js +17 -0
- package/dist/api/types/EksNetworking.mjs +1 -0
- package/dist/api/types/EksPodIdentity.d.mts +4 -0
- package/dist/api/types/EksPodIdentity.d.ts +4 -0
- package/dist/api/types/EksPodIdentity.js +17 -0
- package/dist/api/types/EksPodIdentity.mjs +1 -0
- package/dist/api/types/EksSupport.d.mts +8 -0
- package/dist/api/types/EksSupport.d.ts +8 -0
- package/dist/api/types/EksSupport.js +17 -0
- package/dist/api/types/EksSupport.mjs +1 -0
- package/dist/api/types/EksUnreadable.d.mts +5 -0
- package/dist/api/types/EksUnreadable.d.ts +5 -0
- package/dist/api/types/EksUnreadable.js +17 -0
- package/dist/api/types/EksUnreadable.mjs +1 -0
- package/dist/api/types/FleetNamespace.d.mts +78 -0
- package/dist/api/types/FleetNamespace.d.ts +78 -0
- package/dist/api/types/FleetNamespace.js +49 -0
- package/dist/api/types/FleetNamespace.mjs +25 -0
- package/dist/api/types/FleetNamespaceListData.d.mts +7 -0
- package/dist/api/types/FleetNamespaceListData.d.ts +7 -0
- package/dist/api/types/FleetNamespaceListData.js +17 -0
- package/dist/api/types/FleetNamespaceListData.mjs +1 -0
- package/dist/api/types/FleetNamespaceListResponse.d.mts +6 -0
- package/dist/api/types/FleetNamespaceListResponse.d.ts +6 -0
- package/dist/api/types/FleetNamespaceListResponse.js +17 -0
- package/dist/api/types/FleetNamespaceListResponse.mjs +1 -0
- package/dist/api/types/FleetNetworkDestinations.d.mts +5 -0
- package/dist/api/types/FleetNetworkDestinations.d.ts +5 -0
- package/dist/api/types/FleetNetworkDestinations.js +17 -0
- package/dist/api/types/FleetNetworkDestinations.mjs +1 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.d.mts +6 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.d.ts +6 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.js +17 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.mjs +1 -0
- package/dist/api/types/FleetStorage.d.mts +14 -0
- package/dist/api/types/FleetStorage.d.ts +14 -0
- package/dist/api/types/FleetStorage.js +17 -0
- package/dist/api/types/FleetStorage.mjs +1 -0
- package/dist/api/types/FleetSummary.d.mts +10 -0
- package/dist/api/types/FleetSummary.d.ts +10 -0
- package/dist/api/types/FleetTotals.d.mts +4 -0
- package/dist/api/types/FleetTotals.d.ts +4 -0
- package/dist/api/types/FleetWorkload.d.mts +18 -0
- package/dist/api/types/FleetWorkload.d.ts +18 -0
- package/dist/api/types/FleetWorkload.js +20 -0
- package/dist/api/types/FleetWorkload.mjs +12 -0
- package/dist/api/types/FleetWorkloadListData.d.mts +1 -1
- package/dist/api/types/FleetWorkloadListData.d.ts +1 -1
- package/dist/api/types/FleetWorkloadPair.d.mts +10 -0
- package/dist/api/types/FleetWorkloadPair.d.ts +10 -0
- package/dist/api/types/FleetWorkloadPair.js +17 -0
- package/dist/api/types/FleetWorkloadPair.mjs +1 -0
- package/dist/api/types/HardLimits.d.mts +7 -0
- package/dist/api/types/HardLimits.d.ts +7 -0
- package/dist/api/types/HardLimits.js +17 -0
- package/dist/api/types/HardLimits.mjs +1 -0
- package/dist/api/types/KubernetesDataAvailability.d.mts +2 -0
- package/dist/api/types/KubernetesDataAvailability.d.ts +2 -0
- package/dist/api/types/LensTotals.d.mts +12 -0
- package/dist/api/types/LensTotals.d.ts +12 -0
- package/dist/api/types/NamespaceAutomation.d.mts +17 -0
- package/dist/api/types/NamespaceAutomation.d.ts +17 -0
- package/dist/api/types/NamespaceAutomation.js +6 -0
- package/dist/api/types/NamespaceAutomation.mjs +6 -0
- package/dist/api/types/NamespaceItem.d.mts +14 -1
- package/dist/api/types/NamespaceItem.d.ts +14 -1
- package/dist/api/types/NamespaceItem.js +1 -0
- package/dist/api/types/NamespaceItem.mjs +1 -0
- package/dist/api/types/NamespaceScope.d.mts +3 -2
- package/dist/api/types/NamespaceScope.d.ts +3 -2
- package/dist/api/types/NamespaceScope.js +1 -0
- package/dist/api/types/NamespaceScope.mjs +1 -0
- package/dist/api/types/NetworkDayUsage.d.mts +2 -0
- package/dist/api/types/NetworkDayUsage.d.ts +2 -0
- package/dist/api/types/NodeConditionItem.d.mts +7 -0
- package/dist/api/types/NodeConditionItem.d.ts +7 -0
- package/dist/api/types/NodeConditionItem.js +17 -0
- package/dist/api/types/NodeConditionItem.mjs +1 -0
- package/dist/api/types/NodeDetail.d.mts +6 -0
- package/dist/api/types/NodeDetail.d.ts +6 -0
- package/dist/api/types/NodeFacets.d.mts +2 -0
- package/dist/api/types/NodeFacets.d.ts +2 -0
- package/dist/api/types/NodeInfoItem.d.mts +8 -0
- package/dist/api/types/NodeInfoItem.d.ts +8 -0
- package/dist/api/types/NodeInfoItem.js +17 -0
- package/dist/api/types/NodeInfoItem.mjs +1 -0
- package/dist/api/types/PodPhases.d.mts +6 -0
- package/dist/api/types/PodPhases.d.ts +6 -0
- package/dist/api/types/PodPhases.js +17 -0
- package/dist/api/types/PodPhases.mjs +1 -0
- package/dist/api/types/PoolBillEffect.d.mts +25 -0
- package/dist/api/types/PoolBillEffect.d.ts +25 -0
- package/dist/api/types/PoolBillEffect.js +35 -0
- package/dist/api/types/PoolBillEffect.mjs +11 -0
- package/dist/api/types/PotentialSavings.d.mts +5 -0
- package/dist/api/types/PotentialSavings.d.ts +5 -0
- package/dist/api/types/ProviderShare.d.mts +9 -0
- package/dist/api/types/ProviderShare.d.ts +9 -0
- package/dist/api/types/ProviderShare.js +17 -0
- package/dist/api/types/ProviderShare.mjs +1 -0
- package/dist/api/types/PurchaseTypeShare.d.mts +4 -0
- package/dist/api/types/PurchaseTypeShare.d.ts +4 -0
- package/dist/api/types/RealizedBlocker.d.mts +5 -0
- package/dist/api/types/RealizedBlocker.d.ts +5 -0
- package/dist/api/types/RealizedBlocker.js +17 -0
- package/dist/api/types/RealizedBlocker.mjs +1 -0
- package/dist/api/types/RealizedPool.d.mts +6 -0
- package/dist/api/types/RealizedPool.d.ts +6 -0
- package/dist/api/types/RealizedPool.js +17 -0
- package/dist/api/types/RealizedPool.mjs +1 -0
- package/dist/api/types/RealizedRightsizing.d.mts +12 -0
- package/dist/api/types/RealizedRightsizing.d.ts +12 -0
- package/dist/api/types/RealizedRightsizing.js +17 -0
- package/dist/api/types/RealizedRightsizing.mjs +1 -0
- package/dist/api/types/RealizedRightsizingResponse.d.mts +6 -0
- package/dist/api/types/RealizedRightsizingResponse.d.ts +6 -0
- package/dist/api/types/RealizedRightsizingResponse.js +17 -0
- package/dist/api/types/RealizedRightsizingResponse.mjs +1 -0
- package/dist/api/types/RealizedTotal.d.mts +4 -0
- package/dist/api/types/RealizedTotal.d.ts +4 -0
- package/dist/api/types/RealizedTotal.js +17 -0
- package/dist/api/types/RealizedTotal.mjs +1 -0
- package/dist/api/types/ReliabilityEventDay.d.mts +6 -0
- package/dist/api/types/ReliabilityEventDay.d.ts +6 -0
- package/dist/api/types/ReliabilityEventDay.js +17 -0
- package/dist/api/types/ReliabilityEventDay.mjs +1 -0
- package/dist/api/types/ReliabilityGroup.d.mts +9 -0
- package/dist/api/types/ReliabilityGroup.d.ts +9 -0
- package/dist/api/types/ReliabilityGroup.js +17 -0
- package/dist/api/types/ReliabilityGroup.mjs +1 -0
- package/dist/api/types/ReliabilityLens.d.mts +2 -0
- package/dist/api/types/ReliabilityLens.d.ts +2 -0
- package/dist/api/types/ResourceCapacity.d.mts +12 -0
- package/dist/api/types/ResourceCapacity.d.ts +12 -0
- package/dist/api/types/ResourceCapacity.js +17 -0
- package/dist/api/types/ResourceCapacity.mjs +1 -0
- package/dist/api/types/ResourceEfficiency.d.mts +2 -0
- package/dist/api/types/ResourceEfficiency.d.ts +2 -0
- package/dist/api/types/RightsizeGuardrails.d.mts +9 -0
- package/dist/api/types/RightsizeGuardrails.d.ts +9 -0
- package/dist/api/types/RightsizeGuardrails.js +17 -0
- package/dist/api/types/RightsizeGuardrails.mjs +1 -0
- package/dist/api/types/RightsizeGuardrailsChange.d.mts +9 -0
- package/dist/api/types/RightsizeGuardrailsChange.d.ts +9 -0
- package/dist/api/types/RightsizeGuardrailsChange.js +17 -0
- package/dist/api/types/RightsizeGuardrailsChange.mjs +1 -0
- package/dist/api/types/RightsizedContainer.d.mts +132 -0
- package/dist/api/types/RightsizedContainer.d.ts +132 -0
- package/dist/api/types/RightsizedContainer.js +99 -0
- package/dist/api/types/RightsizedContainer.mjs +75 -0
- package/dist/api/types/RightsizedContainerList.d.mts +5 -0
- package/dist/api/types/RightsizedContainerList.d.ts +5 -0
- package/dist/api/types/RightsizedContainerList.js +17 -0
- package/dist/api/types/RightsizedContainerList.mjs +1 -0
- package/dist/api/types/RightsizedContainerListResponse.d.mts +6 -0
- package/dist/api/types/RightsizedContainerListResponse.d.ts +6 -0
- package/dist/api/types/RightsizedContainerListResponse.js +17 -0
- package/dist/api/types/RightsizedContainerListResponse.mjs +1 -0
- package/dist/api/types/SavingsByKind.d.mts +11 -0
- package/dist/api/types/SavingsByKind.d.ts +11 -0
- package/dist/api/types/SavingsByKind.js +17 -0
- package/dist/api/types/SavingsByKind.mjs +1 -0
- package/dist/api/types/SetAutomationRequest.d.mts +5 -2
- package/dist/api/types/SetAutomationRequest.d.ts +5 -2
- package/dist/api/types/SetNamespaceAutomationRequest.d.mts +8 -0
- package/dist/api/types/SetNamespaceAutomationRequest.d.ts +8 -0
- package/dist/api/types/SetNamespaceAutomationRequest.js +5 -0
- package/dist/api/types/SetNamespaceAutomationRequest.mjs +5 -0
- package/dist/api/types/SetWorkloadAutomationRequest.d.mts +12 -0
- package/dist/api/types/SetWorkloadAutomationRequest.d.ts +12 -0
- package/dist/api/types/SetWorkloadAutomationRequest.js +35 -0
- package/dist/api/types/SetWorkloadAutomationRequest.mjs +11 -0
- package/dist/api/types/SourcedValue.d.mts +11 -0
- package/dist/api/types/SourcedValue.d.ts +11 -0
- package/dist/api/types/SourcedValue.js +17 -0
- package/dist/api/types/SourcedValue.mjs +1 -0
- package/dist/api/types/SpendDay.d.mts +14 -0
- package/dist/api/types/SpendDay.d.ts +14 -0
- package/dist/api/types/SpendKpis.d.mts +12 -0
- package/dist/api/types/SpendKpis.d.ts +12 -0
- package/dist/api/types/SpendUnitCost.d.mts +6 -0
- package/dist/api/types/SpendUnitCost.d.ts +6 -0
- package/dist/api/types/StopAndRevertRequest.d.mts +3 -0
- package/dist/api/types/StopAndRevertRequest.d.ts +3 -0
- package/dist/api/types/StopAndRevertRequest.js +17 -0
- package/dist/api/types/StopAndRevertRequest.mjs +1 -0
- package/dist/api/types/StorageClassTotals.d.mts +14 -0
- package/dist/api/types/StorageClassTotals.d.ts +14 -0
- package/dist/api/types/StorageClassTotals.js +17 -0
- package/dist/api/types/StorageClassTotals.mjs +1 -0
- package/dist/api/types/StorageClassUsage.d.mts +2 -0
- package/dist/api/types/StorageClassUsage.d.ts +2 -0
- package/dist/api/types/Traffic.d.mts +2 -0
- package/dist/api/types/Traffic.d.ts +2 -0
- package/dist/api/types/Waste.d.mts +6 -0
- package/dist/api/types/Waste.d.ts +6 -0
- package/dist/api/types/WasteDay.d.mts +6 -0
- package/dist/api/types/WasteDay.d.ts +6 -0
- package/dist/api/types/WasteTotal.d.mts +2 -0
- package/dist/api/types/WasteTotal.d.ts +2 -0
- package/dist/api/types/WorkloadAutomation.d.mts +15 -0
- package/dist/api/types/WorkloadAutomation.d.ts +15 -0
- package/dist/api/types/WorkloadAutomation.js +35 -0
- package/dist/api/types/WorkloadAutomation.mjs +11 -0
- package/dist/api/types/WorkloadAutomationResponse.d.mts +6 -0
- package/dist/api/types/WorkloadAutomationResponse.d.ts +6 -0
- package/dist/api/types/WorkloadAutomationResponse.js +17 -0
- package/dist/api/types/WorkloadAutomationResponse.mjs +1 -0
- package/dist/api/types/WorkloadDay.d.mts +8 -0
- package/dist/api/types/WorkloadDay.d.ts +8 -0
- package/dist/api/types/WorkloadItem.d.mts +14 -0
- package/dist/api/types/WorkloadItem.d.ts +14 -0
- package/dist/api/types/WorkloadVolume.d.mts +2 -0
- package/dist/api/types/WorkloadVolume.d.ts +2 -0
- package/dist/api/types/index.d.mts +54 -0
- package/dist/api/types/index.d.ts +54 -0
- package/dist/api/types/index.js +108 -0
- package/dist/api/types/index.mjs +54 -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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type * as LevelFour from "../index.js";
|
|
2
2
|
export interface AutomationEventList {
|
|
3
|
-
/** Newest first */
|
|
3
|
+
/** Newest first unless sort=at */
|
|
4
4
|
items: LevelFour.AutomationEvent[];
|
|
5
5
|
pagination: LevelFour.PaginationMeta;
|
|
6
|
+
/** The events of each action status under every filter but status and attention */
|
|
7
|
+
status_counts: Record<string, number>;
|
|
6
8
|
}
|
|
@@ -7,9 +7,18 @@ export interface AutomationSettings {
|
|
|
7
7
|
paused_reason?: (string | null) | undefined;
|
|
8
8
|
/** Raised by every stop; the component echoes it once it has stopped */
|
|
9
9
|
pause_version: number;
|
|
10
|
+
/** Rightsizing stopped and every value it wrote taken back, until a resume */
|
|
11
|
+
stopped: boolean;
|
|
12
|
+
/** Who stopped it: a person's email, or ClusterAutomationConfig/<name> for the cluster object's cleanupAllAutomation, which lifts only a stop it set */
|
|
13
|
+
stopped_by?: (string | null) | undefined;
|
|
14
|
+
/** Raised by every stop and revert; the component echoes it once done */
|
|
15
|
+
stop_version: number;
|
|
10
16
|
/** When it may act, in UTC; empty is any time */
|
|
11
17
|
window: LevelFour.MaintenanceWindow[];
|
|
18
|
+
rightsize: LevelFour.RightsizeGuardrails;
|
|
19
|
+
/** The loop's fixed pace, read only, for dashboards from before the configuration objects */
|
|
12
20
|
caps: LevelFour.AutomationCaps;
|
|
21
|
+
/** The largest raise in one change, read only, for dashboards from before the configuration objects */
|
|
13
22
|
steps: LevelFour.AutomationSteps;
|
|
14
23
|
/** Send it back to change the settings; 0 before they were first saved */
|
|
15
24
|
version: number;
|
|
@@ -7,9 +7,18 @@ export interface AutomationSettings {
|
|
|
7
7
|
paused_reason?: (string | null) | undefined;
|
|
8
8
|
/** Raised by every stop; the component echoes it once it has stopped */
|
|
9
9
|
pause_version: number;
|
|
10
|
+
/** Rightsizing stopped and every value it wrote taken back, until a resume */
|
|
11
|
+
stopped: boolean;
|
|
12
|
+
/** Who stopped it: a person's email, or ClusterAutomationConfig/<name> for the cluster object's cleanupAllAutomation, which lifts only a stop it set */
|
|
13
|
+
stopped_by?: (string | null) | undefined;
|
|
14
|
+
/** Raised by every stop and revert; the component echoes it once done */
|
|
15
|
+
stop_version: number;
|
|
10
16
|
/** When it may act, in UTC; empty is any time */
|
|
11
17
|
window: LevelFour.MaintenanceWindow[];
|
|
18
|
+
rightsize: LevelFour.RightsizeGuardrails;
|
|
19
|
+
/** The loop's fixed pace, read only, for dashboards from before the configuration objects */
|
|
12
20
|
caps: LevelFour.AutomationCaps;
|
|
21
|
+
/** The largest raise in one change, read only, for dashboards from before the configuration objects */
|
|
13
22
|
steps: LevelFour.AutomationSteps;
|
|
14
23
|
/** Send it back to change the settings; 0 before they were first saved */
|
|
15
24
|
version: number;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface AutoscalerCounts {
|
|
2
|
+
/** HorizontalPodAutoscalers, leaving out the ones KEDA creates */
|
|
3
|
+
hpa?: number | undefined;
|
|
4
|
+
/** KEDA ScaledObjects and ScaledJobs */
|
|
5
|
+
keda?: number | undefined;
|
|
6
|
+
/** VerticalPodAutoscalers */
|
|
7
|
+
vpa?: number | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface AutoscalerCounts {
|
|
2
|
+
/** HorizontalPodAutoscalers, leaving out the ones KEDA creates */
|
|
3
|
+
hpa?: number | undefined;
|
|
4
|
+
/** KEDA ScaledObjects and ScaledJobs */
|
|
5
|
+
keda?: number | undefined;
|
|
6
|
+
/** VerticalPodAutoscalers */
|
|
7
|
+
vpa?: number | undefined;
|
|
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 AutoscalerCounts_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(AutoscalerCounts_exports);
|
|
17
|
+
//# sourceMappingURL=AutoscalerCounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=AutoscalerCounts.mjs.map
|
|
@@ -5,7 +5,7 @@ export interface Board {
|
|
|
5
5
|
seed_key: string | null;
|
|
6
6
|
providers: string[];
|
|
7
7
|
all_providers: boolean;
|
|
8
|
-
/** The dashboard's board document. Left out of a list
|
|
8
|
+
/** The dashboard's board document. Left out of a list unless it is read with `include_content`. */
|
|
9
9
|
content?: (Record<string, unknown> | null) | undefined;
|
|
10
10
|
content_version: number;
|
|
11
11
|
version: number;
|
|
@@ -5,7 +5,7 @@ export interface Board {
|
|
|
5
5
|
seed_key: string | null;
|
|
6
6
|
providers: string[];
|
|
7
7
|
all_providers: boolean;
|
|
8
|
-
/** The dashboard's board document. Left out of a list
|
|
8
|
+
/** The dashboard's board document. Left out of a list unless it is read with `include_content`. */
|
|
9
9
|
content?: (Record<string, unknown> | null) | undefined;
|
|
10
10
|
content_version: number;
|
|
11
11
|
version: number;
|
|
@@ -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 BothBasesTotals_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(BothBasesTotals_exports);
|
|
17
|
+
//# sourceMappingURL=BothBasesTotals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=BothBasesTotals.mjs.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface ClusterConfig {
|
|
3
|
+
/** For Deployment, StatefulSet and DaemonSet, each automation field by its path under spec.automation.operational, as the cluster object, the dashboard or the default sets it */
|
|
4
|
+
workload_types: Record<string, Record<string, LevelFour.SourcedValue>>;
|
|
5
|
+
/** The sizing policy, by its field under spec.policies */
|
|
6
|
+
policies: Record<string, LevelFour.SourcedValue>;
|
|
7
|
+
/** The settings an object sets, which a save may not change */
|
|
8
|
+
locks: LevelFour.ConfigLock[];
|
|
9
|
+
/** Every object the component reported, with its verdict */
|
|
10
|
+
objects: LevelFour.ConfigObjectView[];
|
|
11
|
+
/** Objects the component left out over its caps */
|
|
12
|
+
objects_dropped?: number | undefined;
|
|
13
|
+
/** The most the Helm install lets it set on a container */
|
|
14
|
+
hard_limits?: (LevelFour.HardLimits | null) | undefined;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface ClusterConfig {
|
|
3
|
+
/** For Deployment, StatefulSet and DaemonSet, each automation field by its path under spec.automation.operational, as the cluster object, the dashboard or the default sets it */
|
|
4
|
+
workload_types: Record<string, Record<string, LevelFour.SourcedValue>>;
|
|
5
|
+
/** The sizing policy, by its field under spec.policies */
|
|
6
|
+
policies: Record<string, LevelFour.SourcedValue>;
|
|
7
|
+
/** The settings an object sets, which a save may not change */
|
|
8
|
+
locks: LevelFour.ConfigLock[];
|
|
9
|
+
/** Every object the component reported, with its verdict */
|
|
10
|
+
objects: LevelFour.ConfigObjectView[];
|
|
11
|
+
/** Objects the component left out over its caps */
|
|
12
|
+
objects_dropped?: number | undefined;
|
|
13
|
+
/** The most the Helm install lets it set on a container */
|
|
14
|
+
hard_limits?: (LevelFour.HardLimits | null) | undefined;
|
|
15
|
+
}
|
|
@@ -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 ClusterConfig_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ClusterConfig_exports);
|
|
17
|
+
//# sourceMappingURL=ClusterConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ClusterConfig.mjs.map
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
1
2
|
export interface ClusterFilterOptions {
|
|
2
3
|
accounts: string[];
|
|
3
4
|
regions: string[];
|
|
4
5
|
statuses: ClusterFilterOptions.Statuses.Item[];
|
|
6
|
+
/** Each cloud provider the connected clusters report, with how many do */
|
|
7
|
+
providers?: LevelFour.FacetCount[] | undefined;
|
|
8
|
+
/** Each minor Kubernetes version (1.31) they run, with how many run it */
|
|
9
|
+
versions?: LevelFour.FacetCount[] | undefined;
|
|
5
10
|
}
|
|
6
11
|
export declare namespace ClusterFilterOptions {
|
|
7
12
|
type Statuses = Statuses.Item[];
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
1
2
|
export interface ClusterFilterOptions {
|
|
2
3
|
accounts: string[];
|
|
3
4
|
regions: string[];
|
|
4
5
|
statuses: ClusterFilterOptions.Statuses.Item[];
|
|
6
|
+
/** Each cloud provider the connected clusters report, with how many do */
|
|
7
|
+
providers?: LevelFour.FacetCount[] | undefined;
|
|
8
|
+
/** Each minor Kubernetes version (1.31) they run, with how many run it */
|
|
9
|
+
versions?: LevelFour.FacetCount[] | undefined;
|
|
5
10
|
}
|
|
6
11
|
export declare namespace ClusterFilterOptions {
|
|
7
12
|
type Statuses = Statuses.Item[];
|
|
@@ -19,13 +19,35 @@ export interface ClusterItem {
|
|
|
19
19
|
source?: ClusterItem.Source | undefined;
|
|
20
20
|
last_heartbeat_at?: (string | null) | undefined;
|
|
21
21
|
last_batch_at?: (string | null) | undefined;
|
|
22
|
+
/** The nodes the agent counted at its last heartbeat, between hourly batches */
|
|
23
|
+
live_node_count?: (number | null) | undefined;
|
|
24
|
+
/** The pods the agent counted at its last heartbeat, between hourly batches */
|
|
25
|
+
live_pod_count?: (number | null) | undefined;
|
|
22
26
|
node_count: number;
|
|
23
27
|
namespace_count: number;
|
|
24
28
|
/** Namespaces the worker makes recommendations for */
|
|
25
29
|
namespaces_enabled: number;
|
|
26
30
|
workload_count: number;
|
|
31
|
+
/** Pods in the latest batch, Running or Pending; 0 before agent 0.3.0 */
|
|
32
|
+
pod_count?: number | undefined;
|
|
33
|
+
/** Millicores, as of the latest batch */
|
|
34
|
+
cpu: LevelFour.ResourceCapacity;
|
|
35
|
+
/** Bytes, as of the latest batch */
|
|
36
|
+
memory: LevelFour.ResourceCapacity;
|
|
27
37
|
cost?: (number | null) | undefined;
|
|
38
|
+
/** What the containers' CPU cost over the window, idle not included, as category cpu splits it */
|
|
39
|
+
cpu_cost?: (number | null) | undefined;
|
|
40
|
+
/** The same for memory, as category memory splits it */
|
|
41
|
+
memory_cost?: (number | null) | undefined;
|
|
42
|
+
/** What its volume claims cost over the window */
|
|
43
|
+
storage_cost?: (number | null) | undefined;
|
|
44
|
+
/** What its open published recommendations would save a month; null with none open */
|
|
45
|
+
potential_savings_monthly?: (number | null) | undefined;
|
|
28
46
|
idle_cost?: (number | null) | undefined;
|
|
47
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
48
|
+
cost_net?: (number | null) | undefined;
|
|
49
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
50
|
+
idle_cost_net?: (number | null) | undefined;
|
|
29
51
|
idle_share?: (number | null) | undefined;
|
|
30
52
|
cpu_efficiency?: (number | null) | undefined;
|
|
31
53
|
memory_efficiency?: (number | null) | undefined;
|
|
@@ -19,13 +19,35 @@ export interface ClusterItem {
|
|
|
19
19
|
source?: ClusterItem.Source | undefined;
|
|
20
20
|
last_heartbeat_at?: (string | null) | undefined;
|
|
21
21
|
last_batch_at?: (string | null) | undefined;
|
|
22
|
+
/** The nodes the agent counted at its last heartbeat, between hourly batches */
|
|
23
|
+
live_node_count?: (number | null) | undefined;
|
|
24
|
+
/** The pods the agent counted at its last heartbeat, between hourly batches */
|
|
25
|
+
live_pod_count?: (number | null) | undefined;
|
|
22
26
|
node_count: number;
|
|
23
27
|
namespace_count: number;
|
|
24
28
|
/** Namespaces the worker makes recommendations for */
|
|
25
29
|
namespaces_enabled: number;
|
|
26
30
|
workload_count: number;
|
|
31
|
+
/** Pods in the latest batch, Running or Pending; 0 before agent 0.3.0 */
|
|
32
|
+
pod_count?: number | undefined;
|
|
33
|
+
/** Millicores, as of the latest batch */
|
|
34
|
+
cpu: LevelFour.ResourceCapacity;
|
|
35
|
+
/** Bytes, as of the latest batch */
|
|
36
|
+
memory: LevelFour.ResourceCapacity;
|
|
27
37
|
cost?: (number | null) | undefined;
|
|
38
|
+
/** What the containers' CPU cost over the window, idle not included, as category cpu splits it */
|
|
39
|
+
cpu_cost?: (number | null) | undefined;
|
|
40
|
+
/** The same for memory, as category memory splits it */
|
|
41
|
+
memory_cost?: (number | null) | undefined;
|
|
42
|
+
/** What its volume claims cost over the window */
|
|
43
|
+
storage_cost?: (number | null) | undefined;
|
|
44
|
+
/** What its open published recommendations would save a month; null with none open */
|
|
45
|
+
potential_savings_monthly?: (number | null) | undefined;
|
|
28
46
|
idle_cost?: (number | null) | undefined;
|
|
47
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
48
|
+
cost_net?: (number | null) | undefined;
|
|
49
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
50
|
+
idle_cost_net?: (number | null) | undefined;
|
|
29
51
|
idle_share?: (number | null) | undefined;
|
|
30
52
|
cpu_efficiency?: (number | null) | undefined;
|
|
31
53
|
memory_efficiency?: (number | null) | undefined;
|
|
@@ -4,6 +4,12 @@ export interface ClusterSummary {
|
|
|
4
4
|
idle_cost?: (number | null) | undefined;
|
|
5
5
|
idle_share?: (number | null) | undefined;
|
|
6
6
|
system_cost?: (number | null) | undefined;
|
|
7
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
8
|
+
total_cost_net?: (number | null) | undefined;
|
|
9
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
10
|
+
idle_cost_net?: (number | null) | undefined;
|
|
11
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
12
|
+
system_cost_net?: (number | null) | undefined;
|
|
7
13
|
/** CPU used over CPU requested in the window */
|
|
8
14
|
cpu_efficiency?: (number | null) | undefined;
|
|
9
15
|
/** Memory used over memory requested in the window */
|
|
@@ -24,6 +30,16 @@ export interface ClusterSummary {
|
|
|
24
30
|
potential_savings?: (LevelFour.PotentialSavings | null) | undefined;
|
|
25
31
|
/** Over the cluster's NodePool and node group reviews; null until the worker reviewed one */
|
|
26
32
|
purchase_balance?: (LevelFour.PurchaseBalance | null) | undefined;
|
|
33
|
+
/** As of the latest batch */
|
|
34
|
+
pods: LevelFour.PodPhases;
|
|
35
|
+
/** Current workloads by kind: Deployment, StatefulSet, DaemonSet and so on */
|
|
36
|
+
workloads_by_kind?: Record<string, number> | undefined;
|
|
37
|
+
autoscalers: LevelFour.AutoscalerCounts;
|
|
38
|
+
compute: LevelFour.ComputeMonth;
|
|
39
|
+
/** The 95th percentile of the cluster's hourly CPU use over the window: each hour, what its nodes used on average, weighed by the part of the hour each was up */
|
|
40
|
+
cpu_used_p95_milli?: (number | null) | undefined;
|
|
41
|
+
/** The same for memory */
|
|
42
|
+
memory_used_p95_bytes?: (number | null) | undefined;
|
|
27
43
|
}
|
|
28
44
|
export declare namespace ClusterSummary {
|
|
29
45
|
const CostBasis: {
|
|
@@ -4,6 +4,12 @@ export interface ClusterSummary {
|
|
|
4
4
|
idle_cost?: (number | null) | undefined;
|
|
5
5
|
idle_share?: (number | null) | undefined;
|
|
6
6
|
system_cost?: (number | null) | undefined;
|
|
7
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
8
|
+
total_cost_net?: (number | null) | undefined;
|
|
9
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
10
|
+
idle_cost_net?: (number | null) | undefined;
|
|
11
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
12
|
+
system_cost_net?: (number | null) | undefined;
|
|
7
13
|
/** CPU used over CPU requested in the window */
|
|
8
14
|
cpu_efficiency?: (number | null) | undefined;
|
|
9
15
|
/** Memory used over memory requested in the window */
|
|
@@ -24,6 +30,16 @@ export interface ClusterSummary {
|
|
|
24
30
|
potential_savings?: (LevelFour.PotentialSavings | null) | undefined;
|
|
25
31
|
/** Over the cluster's NodePool and node group reviews; null until the worker reviewed one */
|
|
26
32
|
purchase_balance?: (LevelFour.PurchaseBalance | null) | undefined;
|
|
33
|
+
/** As of the latest batch */
|
|
34
|
+
pods: LevelFour.PodPhases;
|
|
35
|
+
/** Current workloads by kind: Deployment, StatefulSet, DaemonSet and so on */
|
|
36
|
+
workloads_by_kind?: Record<string, number> | undefined;
|
|
37
|
+
autoscalers: LevelFour.AutoscalerCounts;
|
|
38
|
+
compute: LevelFour.ComputeMonth;
|
|
39
|
+
/** The 95th percentile of the cluster's hourly CPU use over the window: each hour, what its nodes used on average, weighed by the part of the hour each was up */
|
|
40
|
+
cpu_used_p95_milli?: (number | null) | undefined;
|
|
41
|
+
/** The same for memory */
|
|
42
|
+
memory_used_p95_bytes?: (number | null) | undefined;
|
|
27
43
|
}
|
|
28
44
|
export declare namespace ClusterSummary {
|
|
29
45
|
const CostBasis: {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the nodes cost alone, without storage or data transfer, by the purchase types /spend stacks.
|
|
3
|
+
*/
|
|
4
|
+
export interface ComputeMonth {
|
|
5
|
+
/** This month through yesterday */
|
|
6
|
+
mtd?: (number | null) | undefined;
|
|
7
|
+
last_month?: (number | null) | undefined;
|
|
8
|
+
/** Month to date plus the average of the last seven complete days for each day left */
|
|
9
|
+
forecast_month?: (number | null) | undefined;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the nodes cost alone, without storage or data transfer, by the purchase types /spend stacks.
|
|
3
|
+
*/
|
|
4
|
+
export interface ComputeMonth {
|
|
5
|
+
/** This month through yesterday */
|
|
6
|
+
mtd?: (number | null) | undefined;
|
|
7
|
+
last_month?: (number | null) | undefined;
|
|
8
|
+
/** Month to date plus the average of the last seven complete days for each day left */
|
|
9
|
+
forecast_month?: (number | null) | undefined;
|
|
10
|
+
}
|
|
@@ -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 ComputeMonth_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ComputeMonth_exports);
|
|
17
|
+
//# sourceMappingURL=ComputeMonth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ComputeMonth.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 ConfigLock_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ConfigLock_exports);
|
|
17
|
+
//# sourceMappingURL=ConfigLock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ConfigLock.mjs.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* An object as the component reported it; ready false with InvalidSpec when the API could not read its spec.
|
|
4
|
+
*/
|
|
5
|
+
export interface ConfigObjectView {
|
|
6
|
+
kind: ConfigObjectView.Kind;
|
|
7
|
+
/** Empty for the two cluster kinds */
|
|
8
|
+
namespace?: string | undefined;
|
|
9
|
+
name: string;
|
|
10
|
+
generation?: number | undefined;
|
|
11
|
+
/** The levelfour.ai/approved-by annotation */
|
|
12
|
+
approved_by?: string | undefined;
|
|
13
|
+
/** The workload a Workload kind configures */
|
|
14
|
+
target?: (LevelFour.ConfigTarget | null) | undefined;
|
|
15
|
+
/** spec.automation of an AutomationConfig, or spec.policies of a RecommendationsConfig, as applied */
|
|
16
|
+
spec?: Record<string, unknown> | undefined;
|
|
17
|
+
ready: boolean;
|
|
18
|
+
reason: ConfigObjectView.Reason;
|
|
19
|
+
message?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace ConfigObjectView {
|
|
22
|
+
const Kind: {
|
|
23
|
+
readonly ClusterAutomationConfig: "ClusterAutomationConfig";
|
|
24
|
+
readonly NamespaceAutomationConfig: "NamespaceAutomationConfig";
|
|
25
|
+
readonly WorkloadAutomationConfig: "WorkloadAutomationConfig";
|
|
26
|
+
readonly ClusterRecommendationsConfig: "ClusterRecommendationsConfig";
|
|
27
|
+
readonly NamespaceRecommendationsConfig: "NamespaceRecommendationsConfig";
|
|
28
|
+
readonly WorkloadRecommendationsConfig: "WorkloadRecommendationsConfig";
|
|
29
|
+
};
|
|
30
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
31
|
+
const Reason: {
|
|
32
|
+
readonly Accepted: "Accepted";
|
|
33
|
+
readonly MissingApproval: "MissingApproval";
|
|
34
|
+
readonly Conflict: "Conflict";
|
|
35
|
+
readonly InvalidWindow: "InvalidWindow";
|
|
36
|
+
readonly NamespaceNotAllowed: "NamespaceNotAllowed";
|
|
37
|
+
readonly TooManyObjects: "TooManyObjects";
|
|
38
|
+
readonly InvalidSpec: "InvalidSpec";
|
|
39
|
+
};
|
|
40
|
+
type Reason = (typeof Reason)[keyof typeof Reason];
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* An object as the component reported it; ready false with InvalidSpec when the API could not read its spec.
|
|
4
|
+
*/
|
|
5
|
+
export interface ConfigObjectView {
|
|
6
|
+
kind: ConfigObjectView.Kind;
|
|
7
|
+
/** Empty for the two cluster kinds */
|
|
8
|
+
namespace?: string | undefined;
|
|
9
|
+
name: string;
|
|
10
|
+
generation?: number | undefined;
|
|
11
|
+
/** The levelfour.ai/approved-by annotation */
|
|
12
|
+
approved_by?: string | undefined;
|
|
13
|
+
/** The workload a Workload kind configures */
|
|
14
|
+
target?: (LevelFour.ConfigTarget | null) | undefined;
|
|
15
|
+
/** spec.automation of an AutomationConfig, or spec.policies of a RecommendationsConfig, as applied */
|
|
16
|
+
spec?: Record<string, unknown> | undefined;
|
|
17
|
+
ready: boolean;
|
|
18
|
+
reason: ConfigObjectView.Reason;
|
|
19
|
+
message?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace ConfigObjectView {
|
|
22
|
+
const Kind: {
|
|
23
|
+
readonly ClusterAutomationConfig: "ClusterAutomationConfig";
|
|
24
|
+
readonly NamespaceAutomationConfig: "NamespaceAutomationConfig";
|
|
25
|
+
readonly WorkloadAutomationConfig: "WorkloadAutomationConfig";
|
|
26
|
+
readonly ClusterRecommendationsConfig: "ClusterRecommendationsConfig";
|
|
27
|
+
readonly NamespaceRecommendationsConfig: "NamespaceRecommendationsConfig";
|
|
28
|
+
readonly WorkloadRecommendationsConfig: "WorkloadRecommendationsConfig";
|
|
29
|
+
};
|
|
30
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
31
|
+
const Reason: {
|
|
32
|
+
readonly Accepted: "Accepted";
|
|
33
|
+
readonly MissingApproval: "MissingApproval";
|
|
34
|
+
readonly Conflict: "Conflict";
|
|
35
|
+
readonly InvalidWindow: "InvalidWindow";
|
|
36
|
+
readonly NamespaceNotAllowed: "NamespaceNotAllowed";
|
|
37
|
+
readonly TooManyObjects: "TooManyObjects";
|
|
38
|
+
readonly InvalidSpec: "InvalidSpec";
|
|
39
|
+
};
|
|
40
|
+
type Reason = (typeof Reason)[keyof typeof Reason];
|
|
41
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 ConfigObjectView_exports = {};
|
|
20
|
+
__export(ConfigObjectView_exports, {
|
|
21
|
+
ConfigObjectView: () => ConfigObjectView
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(ConfigObjectView_exports);
|
|
24
|
+
var ConfigObjectView;
|
|
25
|
+
((ConfigObjectView2) => {
|
|
26
|
+
ConfigObjectView2.Kind = {
|
|
27
|
+
ClusterAutomationConfig: "ClusterAutomationConfig",
|
|
28
|
+
NamespaceAutomationConfig: "NamespaceAutomationConfig",
|
|
29
|
+
WorkloadAutomationConfig: "WorkloadAutomationConfig",
|
|
30
|
+
ClusterRecommendationsConfig: "ClusterRecommendationsConfig",
|
|
31
|
+
NamespaceRecommendationsConfig: "NamespaceRecommendationsConfig",
|
|
32
|
+
WorkloadRecommendationsConfig: "WorkloadRecommendationsConfig"
|
|
33
|
+
};
|
|
34
|
+
ConfigObjectView2.Reason = {
|
|
35
|
+
Accepted: "Accepted",
|
|
36
|
+
MissingApproval: "MissingApproval",
|
|
37
|
+
Conflict: "Conflict",
|
|
38
|
+
InvalidWindow: "InvalidWindow",
|
|
39
|
+
NamespaceNotAllowed: "NamespaceNotAllowed",
|
|
40
|
+
TooManyObjects: "TooManyObjects",
|
|
41
|
+
InvalidSpec: "InvalidSpec"
|
|
42
|
+
};
|
|
43
|
+
})(ConfigObjectView || (ConfigObjectView = {}));
|
|
44
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
45
|
+
0 && (module.exports = {
|
|
46
|
+
ConfigObjectView
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=ConfigObjectView.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var ConfigObjectView;
|
|
2
|
+
((ConfigObjectView2) => {
|
|
3
|
+
ConfigObjectView2.Kind = {
|
|
4
|
+
ClusterAutomationConfig: "ClusterAutomationConfig",
|
|
5
|
+
NamespaceAutomationConfig: "NamespaceAutomationConfig",
|
|
6
|
+
WorkloadAutomationConfig: "WorkloadAutomationConfig",
|
|
7
|
+
ClusterRecommendationsConfig: "ClusterRecommendationsConfig",
|
|
8
|
+
NamespaceRecommendationsConfig: "NamespaceRecommendationsConfig",
|
|
9
|
+
WorkloadRecommendationsConfig: "WorkloadRecommendationsConfig"
|
|
10
|
+
};
|
|
11
|
+
ConfigObjectView2.Reason = {
|
|
12
|
+
Accepted: "Accepted",
|
|
13
|
+
MissingApproval: "MissingApproval",
|
|
14
|
+
Conflict: "Conflict",
|
|
15
|
+
InvalidWindow: "InvalidWindow",
|
|
16
|
+
NamespaceNotAllowed: "NamespaceNotAllowed",
|
|
17
|
+
TooManyObjects: "TooManyObjects",
|
|
18
|
+
InvalidSpec: "InvalidSpec"
|
|
19
|
+
};
|
|
20
|
+
})(ConfigObjectView || (ConfigObjectView = {}));
|
|
21
|
+
export {
|
|
22
|
+
ConfigObjectView
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ConfigObjectView.mjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ConfigTarget {
|
|
2
|
+
kind: ConfigTarget.Kind;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export declare namespace ConfigTarget {
|
|
6
|
+
const Kind: {
|
|
7
|
+
readonly Deployment: "Deployment";
|
|
8
|
+
readonly StatefulSet: "StatefulSet";
|
|
9
|
+
readonly DaemonSet: "DaemonSet";
|
|
10
|
+
};
|
|
11
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
12
|
+
}
|