expose detectErrors function publicly

Signed-off-by: goenning <me@goenning.net>
This commit is contained in:
goenning
2022-05-13 13:35:02 +01:00
parent b96380b114
commit 3ec294a186
3 changed files with 38 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes': patch
---
expose detectErrors function publicly
+32
View File
@@ -108,6 +108,38 @@ export interface DeploymentResources {
replicaSets: V1ReplicaSet[];
}
// Warning: (ae-missing-release-tag) "DetectedError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface DetectedError {
// (undocumented)
cluster: string;
// Warning: (ae-forgotten-export) The symbol "ErrorDetectableKind" needs to be exported by the entry point index.d.ts
//
// (undocumented)
kind: ErrorDetectableKind;
// (undocumented)
message: string[];
// (undocumented)
names: string[];
// Warning: (ae-forgotten-export) The symbol "ErrorSeverity" needs to be exported by the entry point index.d.ts
//
// (undocumented)
severity: ErrorSeverity;
}
// Warning: (ae-missing-release-tag) "DetectedErrorsByCluster" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type DetectedErrorsByCluster = Map<string, DetectedError[]>;
// Warning: (ae-missing-release-tag) "detectErrors" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const detectErrors: (
objects: ObjectsByEntityResponse,
) => DetectedErrorsByCluster;
// Warning: (ae-missing-release-tag) "EntityKubernetesContent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
+1
View File
@@ -30,5 +30,6 @@ export * from './api';
export * from './kubernetes-auth-provider';
export * from './utils/clusterLinks';
export * from './components';
export * from './error-detection';
export * from './hooks';
export * from './types';