mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Reverse breaking change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
3916157b6e
commit
79391ba3b9
@ -66,7 +66,15 @@ export interface KubernetesClusterMetadata extends CatalogEntityMetadata {
|
|||||||
kubeVersion?: string;
|
kubeVersion?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class KubernetesCluster extends CatalogEntity<KubernetesClusterMetadata, CatalogEntityStatus, KubernetesClusterSpec> {
|
/**
|
||||||
|
* @deprecated This is no longer used as it is incorrect. Other sources can add more values
|
||||||
|
*/
|
||||||
|
export type KubernetesClusterStatusPhase = "connected" | "connecting" | "disconnected" | "deleting";
|
||||||
|
|
||||||
|
export interface KubernetesClusterStatus extends CatalogEntityStatus {
|
||||||
|
}
|
||||||
|
|
||||||
|
export class KubernetesCluster extends CatalogEntity<KubernetesClusterMetadata, KubernetesClusterStatus, KubernetesClusterSpec> {
|
||||||
public static readonly apiVersion = "entity.k8slens.dev/v1alpha1";
|
public static readonly apiVersion = "entity.k8slens.dev/v1alpha1";
|
||||||
public static readonly kind = "KubernetesCluster";
|
public static readonly kind = "KubernetesCluster";
|
||||||
|
|
||||||
|
|||||||
@ -33,6 +33,8 @@ export type {
|
|||||||
WebLinkSpec,
|
WebLinkSpec,
|
||||||
WebLinkStatus,
|
WebLinkStatus,
|
||||||
WebLinkStatusPhase,
|
WebLinkStatusPhase,
|
||||||
|
KubernetesClusterStatusPhase,
|
||||||
|
KubernetesClusterStatus,
|
||||||
} from "../../common/catalog-entities";
|
} from "../../common/catalog-entities";
|
||||||
|
|
||||||
export * from "../../common/catalog/catalog-entity";
|
export * from "../../common/catalog/catalog-entity";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user