Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 0 additions & 59 deletions packages/common/src/model/kubernetes-contexts-states.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/extension/src/manager/contexts-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import type { KubeConfig, KubernetesObject, ObjectCache } from '@kubernetes/client-node';

import type { ContextPermission } from '/@common/model/kubernetes-contexts-permissions.js';
import type { ContextGeneralState, ResourceName } from '/@common/model/kubernetes-contexts-states.js';
import type { ResourceCount } from '/@common/model/kubernetes-resource-count.js';
import type { KubernetesContextResources } from '/@common/model/kubernetes-resources.js';
import type { KubernetesTroubleshootingInformation } from '/@common/model/kubernetes-troubleshooting.js';
Expand Down Expand Up @@ -203,28 +202,6 @@ export class ContextsManager {
});
}

getContextsGeneralState(): Map<string, ContextGeneralState> {
return new Map<string, ContextGeneralState>();
}

getCurrentContextGeneralState(): ContextGeneralState {
return {
reachable: false,
resources: {
pods: 0,
deployments: 0,
},
};
}

registerGetCurrentContextResources(_resourceName: ResourceName): KubernetesObject[] {
return [];
}

unregisterGetCurrentContextResources(_resourceName: ResourceName): KubernetesObject[] {
return [];
}

/* dispose all disposable resources created by the instance */
dispose(): void {
this.disposeAllHealthChecks();
Expand Down