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
+5 -5
View File
@@ -101,7 +101,7 @@ export interface DeploymentResources {
replicaSets: V1ReplicaSet[];
}
// @alpha
// @public
export interface DetectedError {
// (undocumented)
cluster: string;
@@ -117,10 +117,10 @@ export interface DetectedError {
severity: ErrorSeverity;
}
// @alpha
// @public
export type DetectedErrorsByCluster = Map<string, DetectedError[]>;
// @alpha
// @public
export const detectErrors: (
objects: ObjectsByEntityResponse,
) => DetectedErrorsByCluster;
@@ -137,7 +137,7 @@ export type EntityKubernetesContentProps = {
refreshIntervalMs?: number;
};
// @alpha
// @public
export type ErrorDetectableKind =
| 'Pod'
| 'Deployment'
@@ -161,7 +161,7 @@ export const ErrorReporting: ({
detectedErrors,
}: ErrorReportingProps) => JSX.Element;
// @alpha
// @public
export type ErrorSeverity = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
// Warning: (ae-forgotten-export) The symbol "FormatClusterLinkOptions" needs to be exported by the entry point index.d.ts
@@ -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;