fix remaining alpha exports

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-02-02 20:32:59 +01:00
parent 8ce58b40fb
commit 4c08ac06fc
35 changed files with 125 additions and 131 deletions
@@ -25,7 +25,7 @@ import { detectErrorsInHpa } from './hpas';
* For each cluster try to find errors in each of the object types provided
* returning a map of cluster names to errors in that cluster
*
* @alpha
* @public
*/
export const detectErrors = (
objects: ObjectsByEntityResponse,
@@ -24,7 +24,7 @@ import {
/**
* Severity of the error, where 10 is critical and 0 is very low.
*
* @alpha
* @public
*/
export type ErrorSeverity = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
@@ -33,7 +33,7 @@ export type ErrorDetectable = V1Pod | V1Deployment | V1HorizontalPodAutoscaler;
/**
* Kubernetes kinds that errors might be reported by the plugin
*
* @alpha
* @public
*/
export type ErrorDetectableKind =
| 'Pod'
@@ -43,14 +43,14 @@ export type ErrorDetectableKind =
/**
* A list of errors keyed by Cluster name
*
* @alpha
* @public
*/
export type DetectedErrorsByCluster = Map<string, DetectedError[]>;
/**
* Represents an error found on a Kubernetes object
*
* @alpha
* @public
*/
export interface DetectedError {
severity: ErrorSeverity;