mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Revert 2844 (#2980)
* Revert "review comments" This reverts commit97f2ecd88d. * Revert "Switch to I, remove type parameter default" This reverts commita3073cc99b. * Revert "Improve Table typing and remove annotations on callbacks" This reverts commitdefb0ea0dd.
This commit is contained in:
1 parent
97f2ecd88d
commit
60a19143b4
55 files changed
+471
-479
No files matched your search
@@ -28,14 +28,13 @@ import { jobStore } from "../+workloads-jobs/job.store";
|
||||
import { cronJobStore } from "../+workloads-cronjobs/cronjob.store";
|
||||
import type { KubeResource } from "../../../common/rbac";
|
||||
import { replicaSetStore } from "../+workloads-replicasets/replicasets.store";
|
||||
import type { KubeObject } from "../../api/kube-object";
|
||||
|
||||
export const workloadStores = new Map<KubeResource, KubeObjectStore<KubeObject>>([
|
||||
["pods", podsStore],
|
||||
["deployments", deploymentStore],
|
||||
["daemonsets", daemonSetStore],
|
||||
["statefulsets", statefulSetStore],
|
||||
["replicasets", replicaSetStore],
|
||||
["jobs", jobStore],
|
||||
["cronjobs", cronJobStore],
|
||||
]);
|
||||
export const workloadStores: Partial<Record<KubeResource, KubeObjectStore>> = {
|
||||
"pods": podsStore,
|
||||
"deployments": deploymentStore,
|
||||
"daemonsets": daemonSetStore,
|
||||
"statefulsets": statefulSetStore,
|
||||
"replicasets": replicaSetStore,
|
||||
"jobs": jobStore,
|
||||
"cronjobs": cronJobStore,
|
||||
};
|
||||
Reference in new issue
Block a user