mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Split KubeObject related components into seperate folders (#3533)
This commit is contained in:
1 parent
3fe8014f11
commit
fb74859f66
92 files changed
+305
-179
No files matched your search
@@ -34,7 +34,7 @@ import { Table, TableCell, TableHead, TableRow } from "../table";
|
||||
import { Spinner } from "../spinner";
|
||||
import { DrawerTitle } from "../drawer";
|
||||
import { KubeObjectStatusIcon } from "../kube-object-status-icon";
|
||||
import { showDetails } from "../kube-object";
|
||||
import { showDetails } from "../kube-detail-params";
|
||||
|
||||
enum sortBy {
|
||||
name = "name",
|
||||
|
||||
@@ -26,7 +26,7 @@ import { Link } from "react-router-dom";
|
||||
import { autorun, observable, makeObservable } from "mobx";
|
||||
import { disposeOnUnmount, observer } from "mobx-react";
|
||||
import { Pod, Secret, secretsApi } from "../../api/endpoints";
|
||||
import { getDetailsUrl } from "../kube-object";
|
||||
import { getDetailsUrl } from "../kube-detail-params";
|
||||
|
||||
interface Props {
|
||||
pod: Pod;
|
||||
|
||||
@@ -36,12 +36,13 @@ import { PodDetailsTolerations } from "./pod-details-tolerations";
|
||||
import { Icon } from "../icon";
|
||||
import { PodDetailsSecrets } from "./pod-details-secrets";
|
||||
import { ResourceMetrics } from "../resource-metrics";
|
||||
import { getDetailsUrl, KubeObjectDetailsProps } from "../kube-object";
|
||||
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
||||
import { getItemMetrics } from "../../api/endpoints/metrics.api";
|
||||
import { PodCharts, podMetricTabs } from "./pod-charts";
|
||||
import { KubeObjectMeta } from "../kube-object/kube-object-meta";
|
||||
import { KubeObjectMeta } from "../kube-object-meta";
|
||||
import { getActiveClusterEntity } from "../../api/catalog-entity-registry";
|
||||
import { ClusterMetricsResourceType } from "../../../common/cluster-types";
|
||||
import { getDetailsUrl } from "../kube-detail-params";
|
||||
|
||||
interface Props extends KubeObjectDetailsProps<Pod> {
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ import { podsStore } from "./pods.store";
|
||||
import type { RouteComponentProps } from "react-router";
|
||||
import { volumeClaimStore } from "../+storage-volume-claims/volume-claim.store";
|
||||
import { eventStore } from "../+events/event.store";
|
||||
import { getDetailsUrl, KubeObjectListLayout } from "../kube-object";
|
||||
import { KubeObjectListLayout } from "../kube-object-list-layout";
|
||||
import { nodesApi, Pod } from "../../api/endpoints";
|
||||
import { StatusBrick } from "../status-brick";
|
||||
import { cssNames, stopPropagation } from "../../utils";
|
||||
@@ -39,6 +39,7 @@ import { lookupApiLink } from "../../api/kube-api";
|
||||
import { KubeObjectStatusIcon } from "../kube-object-status-icon";
|
||||
import { Badge } from "../badge";
|
||||
import type { PodsRouteParams } from "../../../common/routes";
|
||||
import { getDetailsUrl } from "../kube-detail-params";
|
||||
|
||||
enum columnId {
|
||||
name = "name",
|
||||
|
||||
Reference in new issue
Block a user