Improve cluster connection visibility (#4266)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-12 08:49:21 -05:00
1 parent 23d5d40d62
commit 3522485c6f
9 files changed
+229 -207

No files matched your search

+8 -1
View File
@@ -122,6 +122,14 @@ export enum ClusterStatus {
Offline = 0,
}
/**
* The message format for the "cluster:<cluster-id>:connection-update" channels
*/
export interface KubeAuthUpdate {
message: string;
isError: boolean;
}
/**
* The OpenLens known static metadata keys
*/
@@ -173,7 +181,6 @@ export interface ClusterState {
disconnected: boolean;
accessible: boolean;
ready: boolean;
failureReason: string;
isAdmin: boolean;
allowedNamespaces: string[]
allowedResources: string[]